Don't use free'd pointer in status control - found by Valgrind.
This commit is contained in:
parent
4b28f0f9c6
commit
8a6ca5ad3f
|
@ -807,8 +807,8 @@ STATUSBAR_WMDestroy (STATUSWINDOWINFO *infoPtr)
|
|||
if (infoPtr->hwndToolTip)
|
||||
DestroyWindow (infoPtr->hwndToolTip);
|
||||
|
||||
Free (infoPtr);
|
||||
SetWindowLongW(infoPtr->Self, 0, 0);
|
||||
Free (infoPtr);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue