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

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);