mirror of
https://github.com/reactos/wine.git
synced 2025-03-02 17:55:57 +00:00
user32/edit: Don't leak undo buffer.
This commit is contained in:
parent
e98687f425
commit
a60966068b
@ -4714,7 +4714,8 @@ static LRESULT EDIT_WM_Destroy(EDITSTATE *es)
|
||||
pc = pp;
|
||||
}
|
||||
|
||||
SetWindowLongPtrW( es->hwndSelf, 0, 0 );
|
||||
SetWindowLongPtrW( es->hwndSelf, 0, 0 );
|
||||
HeapFree(GetProcessHeap(), 0, es->undo_text);
|
||||
HeapFree(GetProcessHeap(), 0, es);
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user