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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog;
* Don't use free'd pointer in status control - found by Valgrind
Index: dlls/comctl32/status.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/status.c,v
retrieving revision 1.62
diff -u -r1.62 status.c
--- dlls/comctl32/status.c	22 Sep 2003 21:32:33 -0000	1.62
+++ dlls/comctl32/status.c	18 Oct 2003 01:01:27 -0000
@@ -807,8 +807,8 @@
     if (infoPtr->hwndToolTip)
 	DestroyWindow (infoPtr->hwndToolTip);
 
-    Free (infoPtr);
     SetWindowLongW(infoPtr->Self, 0, 0);
+    Free (infoPtr);
     return 0;
 }
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux