"Jon Griffiths" jon_p_griffiths@yahoo.com wrote:
Changelog: +controls/button.c controls/combo.c controls/desktop.c controls/edit.c controls/icontitle.c controls/listbox.c controls/menu.c controls/scroll.c controls/static.c dlls/gdi/gdi_main.c dlls/gdi/gdiobj.c dlls/gdi/gdi_private.h dlls/user/cache.c dlls/user/controls.h dlls/user/user_main.c dlls/user/winproc.h include/user.h windows/class.c windows/cursoricon.c windows/dce.c windows/dialog.c windows/mdi.c windows/syscolor.c windows/sysmetrics.c Don't leak GDI objects on exit.
Of course the patch is correct, but shouldn't that be a job for gdi32 on DLL_PROCESS_DETACH or even DLL_THREAD_DETACH?