]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 ef7c17d042dd12e14b8d27c6f03e978ad2660050..09b671634f74eab8a1a65d31d6445c43fbaeb2b1 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)