hhctrl.ocx: Plug memory leak.
Tijl Coosemans
tijl at ulyssis.org
Mon Apr 28 15:42:56 CDT 2008
---
dlls/hhctrl.ocx/hhctrl.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
-------------- next part --------------
diff --git a/dlls/hhctrl.ocx/hhctrl.c b/dlls/hhctrl.ocx/hhctrl.c
index 9f19004..a555a42 100644
--- a/dlls/hhctrl.ocx/hhctrl.c
+++ b/dlls/hhctrl.ocx/hhctrl.c
@@ -147,7 +147,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-patches
mailing list