urlmon: Don't use freed string in TRACE.
This commit is contained in:
parent
9dc2563aaa
commit
a04ffc3795
|
@ -74,7 +74,7 @@ static HRESULT get_protocol_iface(LPCWSTR schema, DWORD schema_len, IUnknown **r
|
||||||
res = RegOpenKeyW(HKEY_CLASSES_ROOT, wszKey, &hkey);
|
res = RegOpenKeyW(HKEY_CLASSES_ROOT, wszKey, &hkey);
|
||||||
HeapFree(GetProcessHeap(), 0, wszKey);
|
HeapFree(GetProcessHeap(), 0, wszKey);
|
||||||
if(res != ERROR_SUCCESS) {
|
if(res != ERROR_SUCCESS) {
|
||||||
TRACE("Could not open key %s\n", debugstr_w(wszKey));
|
TRACE("Could not open protocol handler key\n");
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue