[PATCH 1/3] user32: Free internal icon when freeing the rest of the window class.
Alex Henrie
alexhenrie24 at gmail.com
Thu May 14 02:37:55 CDT 2015
---
dlls/user32/class.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/user32/class.c b/dlls/user32/class.c
index 2c94367..bc1e623 100644
--- a/dlls/user32/class.c
+++ b/dlls/user32/class.c
@@ -292,6 +292,7 @@ static void CLASS_FreeClass( CLASS *classPtr )
list_remove( &classPtr->entry );
if (classPtr->hbrBackground > (HBRUSH)(COLOR_GRADIENTINACTIVECAPTION + 1))
DeleteObject( classPtr->hbrBackground );
+ DestroyIcon( classPtr->hIconSmIntern );
HeapFree( GetProcessHeap(), 0, classPtr->menuName );
HeapFree( GetProcessHeap(), 0, classPtr );
USER_Unlock();
--
2.4.0
More information about the wine-patches
mailing list