Tijl Coosemans : hhctrl.ocx: Plug memory leak.
Alexandre Julliard
julliard at winehq.org
Tue Apr 29 08:54:29 CDT 2008
Module: wine
Branch: master
Commit: af72d10014a4f2e74da3e55f89c635823744284f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=af72d10014a4f2e74da3e55f89c635823744284f
Author: Tijl Coosemans <tijl at ulyssis.org>
Date: Mon Apr 28 22:42:56 2008 +0200
hhctrl.ocx: Plug memory leak.
---
dlls/hhctrl.ocx/hhctrl.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/hhctrl.ocx/hhctrl.c b/dlls/hhctrl.ocx/hhctrl.c
index c0054de..e663c11 100644
--- a/dlls/hhctrl.ocx/hhctrl.c
+++ b/dlls/hhctrl.ocx/hhctrl.c
@@ -144,7 +144,10 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
url = FindContextAlias(info->pCHMInfo, data);
if(!url)
+ {
+ ReleaseHelpViewer(info);
return NULL;
+ }
NavigateToUrl(info, url);
heap_free(url);
More information about the wine-cvs
mailing list