hhctrl.ocx: Plug memory leak.
This commit is contained in:
parent
9b24f2a050
commit
af72d10014
@ -144,7 +144,10 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
|
|||||||
|
|
||||||
url = FindContextAlias(info->pCHMInfo, data);
|
url = FindContextAlias(info->pCHMInfo, data);
|
||||||
if(!url)
|
if(!url)
|
||||||
|
{
|
||||||
|
ReleaseHelpViewer(info);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
NavigateToUrl(info, url);
|
NavigateToUrl(info, url);
|
||||||
heap_free(url);
|
heap_free(url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user