Commit 8a6ca5ad authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

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

parent 4b28f0f9
...@@ -807,8 +807,8 @@ STATUSBAR_WMDestroy (STATUSWINDOWINFO *infoPtr) ...@@ -807,8 +807,8 @@ STATUSBAR_WMDestroy (STATUSWINDOWINFO *infoPtr)
if (infoPtr->hwndToolTip) if (infoPtr->hwndToolTip)
DestroyWindow (infoPtr->hwndToolTip); DestroyWindow (infoPtr->hwndToolTip);
Free (infoPtr);
SetWindowLongW(infoPtr->Self, 0, 0); SetWindowLongW(infoPtr->Self, 0, 0);
Free (infoPtr);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment