Don't use free'd pointer in status control - found by Valgrind.

This commit is contained in:
Mike McCormack 2003-10-21 23:43:14 +00:00 committed by Alexandre Julliard
parent 4b28f0f9c6
commit 8a6ca5ad3f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}