Commit 6b194615 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent ed68b6d1
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment