Nikolay Sivov : comctl32/toolbar: Don't free Toolbar control data too early .
Alexandre Julliard
julliard at winehq.org
Mon May 25 10:06:32 CDT 2009
Module: wine
Branch: master
Commit: 8296075fa7f08dc8f2dfa5827ca3119e6a5e42e7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8296075fa7f08dc8f2dfa5827ca3119e6a5e42e7
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun May 24 22:45:57 2009 +0400
comctl32/toolbar: Don't free Toolbar control data too early.
---
dlls/comctl32/toolbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 06bf239..5a0344f 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -5322,8 +5322,8 @@ TOOLBAR_Destroy (TOOLBAR_INFO *infoPtr)
CloseThemeData (GetWindowTheme (infoPtr->hwndSelf));
/* free toolbar info data */
- Free (infoPtr);
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
+ Free (infoPtr);
return 0;
}
More information about the wine-cvs
mailing list