From 6b1946154831c4537b9fffc4994cb0273db55918 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Tue, 4 Sep 2012 23:06:17 +0400 Subject: [PATCH] user32: Release uniscribe data on Edit control destruction (valgrind). --- dlls/user32/edit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c index 226d7378a0b..278aa384a93 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);