Jacek Caban : urlmon: Don't use freed string in TRACE.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 24 06:54:57 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: a04ffc3795915c76e1ddc627ebfa04e1ad9dc164
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=a04ffc3795915c76e1ddc627ebfa04e1ad9dc164

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Jul 22 15:21:20 2006 +0200

urlmon: Don't use freed string in TRACE.

---

 dlls/urlmon/session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/urlmon/session.c b/dlls/urlmon/session.c
index dd0cd27..df27967 100644
--- a/dlls/urlmon/session.c
+++ b/dlls/urlmon/session.c
@@ -74,7 +74,7 @@ static HRESULT get_protocol_iface(LPCWST
     res = RegOpenKeyW(HKEY_CLASSES_ROOT, wszKey, &hkey);
     HeapFree(GetProcessHeap(), 0, wszKey);
     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;
     }
     




More information about the wine-cvs mailing list