Module: wine Branch: master Commit: af72d10014a4f2e74da3e55f89c635823744284f URL: http://source.winehq.org/git/wine.git/?a=commit;h=af72d10014a4f2e74da3e55f89...
Author: Tijl Coosemans tijl@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);