aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index ef7c17d042d..09b671634f7 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5889,6 +5889,9 @@ x_destroy_window (f)
5889 XFlush (FRAME_X_DISPLAY (f)); 5889 XFlush (FRAME_X_DISPLAY (f));
5890 } 5890 }
5891 5891
5892 if (f->output_data.x.saved_input_event)
5893 free (f->output_data.x.saved_menu_event);
5894
5892 xfree (f->output_data.x); 5895 xfree (f->output_data.x);
5893 f->output_data.x = 0; 5896 f->output_data.x = 0;
5894 if (f == dpyinfo->x_focus_frame) 5897 if (f == dpyinfo->x_focus_frame)