Lionel Debroux : mshtml: Fix memory leak (found by Smatch).
Alexandre Julliard
julliard at winehq.org
Mon Oct 29 08:34:55 CDT 2007
Module: wine
Branch: master
Commit: a155665d652b5c6f841f6f7729c9b822c9c729d4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a155665d652b5c6f841f6f7729c9b822c9c729d4
Author: Lionel Debroux <lionel_debroux at yahoo.fr>
Date: Sat Oct 27 14:41:05 2007 +0200
mshtml: Fix memory leak (found by Smatch).
---
dlls/mshtml/protocol.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/protocol.c b/dlls/mshtml/protocol.c
index 5f197fd..c87f42e 100644
--- a/dlls/mshtml/protocol.c
+++ b/dlls/mshtml/protocol.c
@@ -602,6 +602,7 @@ static HRESULT WINAPI ResProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
if(!hdll) {
WARN("Could not open dll: %s\n", debugstr_w(url_dll));
IInternetProtocolSink_ReportResult(pOIProtSink, HRESULT_FROM_WIN32(GetLastError()), 0, NULL);
+ mshtml_free(url);
return HRESULT_FROM_WIN32(GetLastError());
}
More information about the wine-cvs
mailing list