Nikolay Sivov : user32: Release uniscribe data on Edit control destruction (valgrind).
Alexandre Julliard
julliard at winehq.org
Wed Sep 5 15:36:44 CDT 2012
Module: wine
Branch: master
Commit: 6b1946154831c4537b9fffc4994cb0273db55918
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6b1946154831c4537b9fffc4994cb0273db55918
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Sep 4 23:06:17 2012 +0400
user32: Release uniscribe data on Edit control destruction (valgrind).
---
dlls/user32/edit.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index 226d737..278aa38 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -4601,6 +4601,7 @@ static LRESULT EDIT_WM_NCDestroy(EDITSTATE *es)
pc = pp;
}
+ EDIT_InvalidateUniscribeData(es);
SetWindowLongPtrW( es->hwndSelf, 0, 0 );
HeapFree(GetProcessHeap(), 0, es->undo_text);
HeapFree(GetProcessHeap(), 0, es);
More information about the wine-cvs
mailing list