[PATCH 1/1] Fix a leak for text string stored for edit item
Nikolay Sivov
bunglehead at gmail.com
Fri Jan 1 08:40:50 CST 2010
---
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;
--
1.5.6.5
--=-dOaghiMmU57xozhiyKrJ--
More information about the wine-patches
mailing list