urlmon: Don't use freed string in TRACE.

This commit is contained in:
Jacek Caban 2006-07-22 15:21:20 +02:00 committed by Alexandre Julliard
parent 9dc2563aaa
commit a04ffc3795
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }