wine/dlls/hhctrl.ocx hhctrl.c
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 7 05:08:47 CST 2005
ChangeSet ID: 21130
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/07 05:08:47
Modified files:
dlls/hhctrl.ocx: hhctrl.c
Log message:
James Hawkins <truiken at 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)
More information about the wine-cvs
mailing list