comctl32: Free the trackbar tics.
This commit is contained in:
parent
83004cdd1e
commit
b04ae273de
|
@ -1453,6 +1453,9 @@ TRACKBAR_Destroy (TRACKBAR_INFO *infoPtr)
|
||||||
if (infoPtr->hwndToolTip)
|
if (infoPtr->hwndToolTip)
|
||||||
DestroyWindow (infoPtr->hwndToolTip);
|
DestroyWindow (infoPtr->hwndToolTip);
|
||||||
|
|
||||||
|
Free (infoPtr->tics);
|
||||||
|
infoPtr->tics = NULL;
|
||||||
|
|
||||||
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
|
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
|
||||||
CloseThemeData (GetWindowTheme (infoPtr->hwndSelf));
|
CloseThemeData (GetWindowTheme (infoPtr->hwndSelf));
|
||||||
Free (infoPtr);
|
Free (infoPtr);
|
||||||
|
|
Loading…
Reference in New Issue