Nikolay Sivov : comctl32/comboex: Fix a leak for text string stored for edit item.

Alexandre Julliard julliard at winehq.org
Mon Jan 4 10:54:17 CST 2010


Module: wine
Branch: master
Commit: acec38873f13abb19febbee2717272a6ff63ec79
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=acec38873f13abb19febbee2717272a6ff63ec79

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Fri Jan  1 17:40:50 2010 +0300

comctl32/comboex: Fix a leak for text string stored for edit item.

---

 dlls/comctl32/comboex.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c
index e1d2cd4..4b5e079 100644
--- a/dlls/comctl32/comboex.c
+++ b/dlls/comctl32/comboex.c
@@ -1583,6 +1583,7 @@ static LRESULT COMBOEX_Destroy (COMBOEX_INFO *infoPtr)
     if (infoPtr->hwndEdit)
         RemoveWindowSubclass(infoPtr->hwndEdit, COMBOEX_EditWndProc, EDIT_SUBCLASSID);
 
+    COMBOEX_FreeText (infoPtr->edit);
     Free (infoPtr->edit);
     infoPtr->edit = 0;
 




More information about the wine-cvs mailing list