user32: Release uniscribe data on Edit control destruction (valgrind).

This commit is contained in:
Nikolay Sivov 2012-09-04 23:06:17 +04:00 committed by Alexandre Julliard
parent ed68b6d120
commit 6b19461548
1 changed files with 1 additions and 0 deletions

View File

@ -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);