user32: Free the uniscribe data before freeing the linedefs.
This commit is contained in:
parent
c0cd0d17aa
commit
e603ffd19e
|
@ -4593,6 +4593,7 @@ static LRESULT EDIT_WM_NCDestroy(EDITSTATE *es)
|
||||||
if (es->hloc32A) {
|
if (es->hloc32A) {
|
||||||
LocalFree(es->hloc32A);
|
LocalFree(es->hloc32A);
|
||||||
}
|
}
|
||||||
|
EDIT_InvalidateUniscribeData(es);
|
||||||
pc = es->first_line_def;
|
pc = es->first_line_def;
|
||||||
while (pc)
|
while (pc)
|
||||||
{
|
{
|
||||||
|
@ -4601,7 +4602,6 @@ 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