comctl32: Free the trackbar tics.

This commit is contained in:
James Hawkins 2008-07-11 19:57:22 -05:00 committed by Alexandre Julliard
parent 83004cdd1e
commit b04ae273de
1 changed files with 3 additions and 0 deletions

View File

@ -1453,6 +1453,9 @@ TRACKBAR_Destroy (TRACKBAR_INFO *infoPtr)
if (infoPtr->hwndToolTip)
DestroyWindow (infoPtr->hwndToolTip);
Free (infoPtr->tics);
infoPtr->tics = NULL;
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
CloseThemeData (GetWindowTheme (infoPtr->hwndSelf));
Free (infoPtr);