ChangeSet ID: 21130 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/07 05:08:47 Modified files: dlls/hhctrl.ocx: hhctrl.c Log message: James Hawkins <truiken(a)gmail.com> Free an alloc'ed string. Patch: http://cvs.winehq.org/patch.py?id=21130 Old revision New revision Changes Path 1.9 1.10 +3 -2 wine/dlls/hhctrl.ocx/hhctrl.c Index: wine/dlls/hhctrl.ocx/hhctrl.c diff -u -p wine/dlls/hhctrl.ocx/hhctrl.c:1.9 wine/dlls/hhctrl.ocx/hhctrl.c:1.10 --- wine/dlls/hhctrl.ocx/hhctrl.c:1.9 7 Nov 2005 11: 8:47 -0000 +++ wine/dlls/hhctrl.ocx/hhctrl.c 7 Nov 2005 11: 8:47 -0000 @@ -96,9 +96,10 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWS 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)
participants (1)
-
Alexandre Julliard