hhctrl.ocx: Plug memory leak.

This commit is contained in:
Tijl Coosemans 2008-04-28 22:42:56 +02:00 committed by Alexandre Julliard
parent 9b24f2a050
commit af72d10014
1 changed files with 3 additions and 0 deletions

View File

@ -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);