Commit 2a94355c authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

user32: Free internal icon when freeing the rest of the window class.

parent f324ae7f
...@@ -292,6 +292,7 @@ static void CLASS_FreeClass( CLASS *classPtr ) ...@@ -292,6 +292,7 @@ static void CLASS_FreeClass( CLASS *classPtr )
list_remove( &classPtr->entry ); list_remove( &classPtr->entry );
if (classPtr->hbrBackground > (HBRUSH)(COLOR_GRADIENTINACTIVECAPTION + 1)) if (classPtr->hbrBackground > (HBRUSH)(COLOR_GRADIENTINACTIVECAPTION + 1))
DeleteObject( classPtr->hbrBackground ); DeleteObject( classPtr->hbrBackground );
DestroyIcon( classPtr->hIconSmIntern );
HeapFree( GetProcessHeap(), 0, classPtr->menuName ); HeapFree( GetProcessHeap(), 0, classPtr->menuName );
HeapFree( GetProcessHeap(), 0, classPtr ); HeapFree( GetProcessHeap(), 0, classPtr );
USER_Unlock(); USER_Unlock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment