Free an alloc'ed string.

This commit is contained in:
James Hawkins 2005-11-07 11:08:47 +00:00 committed by Alexandre Julliard
parent 93047e275e
commit a533bd3056
1 changed files with 3 additions and 2 deletions

View File

@ -96,9 +96,10 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD data)
case HH_HELP_CONTEXT:
FIXME("Not all HH cases handled correctly\n");
doWinMain(GetModuleHandleW(NULL), file);
default:
return 0;
break;
}
HeapFree(GetProcessHeap(), 0, file);
return 0;
}
HWND WINAPI HtmlHelpA(HWND caller, LPCSTR filename, UINT command, DWORD data)