comctl32/toolbar: Don't free Toolbar control data too early.
This commit is contained in:
parent
4db999ebdf
commit
8296075fa7
|
@ -5322,8 +5322,8 @@ TOOLBAR_Destroy (TOOLBAR_INFO *infoPtr)
|
|||
CloseThemeData (GetWindowTheme (infoPtr->hwndSelf));
|
||||
|
||||
/* free toolbar info data */
|
||||
Free (infoPtr);
|
||||
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
|
||||
Free (infoPtr);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue