From 8a6ca5ad3f27e0981931d5b3d09c1facbf5f3ab9 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Tue, 21 Oct 2003 23:43:14 +0000 Subject: [PATCH] Don't use free'd pointer in status control - found by Valgrind. --- dlls/comctl32/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index 4227f411df7..ee286e0b9c9 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -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; }