comctl32/comboex: Fix a leak for text string stored for edit item.
This commit is contained in:
parent
3ac5064ba7
commit
acec38873f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue