hhctrl: Free an alloc'ed string

Vincent Béron vberon at mecano.gme.usherb.ca
Fri Nov 4 11:38:53 CST 2005


Le ven 04/11/2005 à 12:22, James Hawkins a écrit :
> Hi,
> 
> Changelog
> * Free an alloc'ed string.
> 
> --
> James Hawkins
> ----
> 

> Index: dlls/hhctrl.ocx/hhctrl.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/hhctrl.ocx/hhctrl.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 hhctrl.c
> --- dlls/hhctrl.ocx/hhctrl.c	4 Nov 2005 11:15:01 -0000	1.9
> +++ dlls/hhctrl.ocx/hhctrl.c	4 Nov 2005 17:20:57 -0000
> @@ -97,6 +97,7 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWS
>              FIXME("Not all HH cases handled correctly\n");
>              doWinMain(GetModuleHandleW(NULL), file);
>          default:
> +            HeapFree(GetProcessHeap(), 0, (LPVOID)filename);

file, not filename.

Vincent




More information about the wine-patches mailing list