user32: Release uniscribe data on Edit control destruction (valgrind).
This commit is contained in:
parent
ed68b6d120
commit
6b19461548
|
@ -4601,6 +4601,7 @@ static LRESULT EDIT_WM_NCDestroy(EDITSTATE *es)
|
||||||
pc = pp;
|
pc = pp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EDIT_InvalidateUniscribeData(es);
|
||||||
SetWindowLongPtrW( es->hwndSelf, 0, 0 );
|
SetWindowLongPtrW( es->hwndSelf, 0, 0 );
|
||||||
HeapFree(GetProcessHeap(), 0, es->undo_text);
|
HeapFree(GetProcessHeap(), 0, es->undo_text);
|
||||||
HeapFree(GetProcessHeap(), 0, es);
|
HeapFree(GetProcessHeap(), 0, es);
|
||||||
|
|
Loading…
Reference in New Issue