Fix bug #14970 with crashes when deleting many frames on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Sun, 28 Jul 2013 15:22:27 +0000 (18:22 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 28 Jul 2013 15:22:27 +0000 (18:22 +0300)
commit2e5ce5ded73aa084e12b826fd1adbebd03f900fd
tree78668c3c8e48cca16e57b6005c45543ae5b6b80f
parent0f91f03c05dd9be6dbcb7eecd784ccaf0fc7a24b
Fix bug #14970 with crashes when deleting many frames on MS-Windows.

 src/w32fns.c (w32_wnd_proc) <WM_IME_STARTCOMPOSITION>: Make sure the
 frame which got the message is still alive, before dereferencing
 its pointer.
 src/frame.c (delete_frame): Test "this" frame's minibuffer window to
 be a live window, before using it as such.
src/ChangeLog
src/frame.c
src/w32fns.c