(x_destroy_window): Free saved_menu_event, if any.
authorRichard M. Stallman <rms@gnu.org>
Sun, 27 Apr 1997 03:32:14 +0000 (03:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 27 Apr 1997 03:32:14 +0000 (03:32 +0000)
src/xterm.c

index ef7c17d..09b6716 100644 (file)
@@ -5889,6 +5889,9 @@ x_destroy_window (f)
       XFlush (FRAME_X_DISPLAY (f));
     }
 
+  if (f->output_data.x.saved_input_event)
+    free (f->output_data.x.saved_menu_event);
+
   xfree (f->output_data.x);
   f->output_data.x = 0;
   if (f == dpyinfo->x_focus_frame)