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);
|
||||
if(!url)
|
||||
{
|
||||
ReleaseHelpViewer(info);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NavigateToUrl(info, url);
|
||||
heap_free(url);
|
||||
|
|
Loading…
Reference in New Issue