]> git.eshelyaron.com Git - emacs.git/commit
Fix crash in ns_mouse_position (bug#44313)
authorAlan Third <alan@idiocy.org>
Sat, 31 Oct 2020 15:14:34 +0000 (15:14 +0000)
committerAlan Third <alan@idiocy.org>
Sat, 12 Dec 2020 10:31:56 +0000 (10:31 +0000)
commit6aa9fe3e1b4052b2acde86404a90e35893ebfa00
tree00cca83fd661799927f4ba6ebd421a7bc178b71d
parent62a6934af9c110c28fc1f69f4bb1b79ce9d0c43d
Fix crash in ns_mouse_position (bug#44313)

* src/nsterm.m (ns_destroy_window): Close the window before freeing
the frame resources so we don't end up accessing the frame struct
after it's been freed.

(cherry picked from commit 18a7267c32a909bb26bd93d24543155aeb10e042)
src/nsterm.m