changeset 17574:7fe6de4949e4

(x_destroy_window): Free saved_menu_event, if any.
author Richard M. Stallman <rms@gnu.org>
date Sun, 27 Apr 1997 03:32:14 +0000
parents bfd86808adcc
children 3f073536c09a
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sun Apr 27 03:25:32 1997 +0000
+++ b/src/xterm.c	Sun Apr 27 03:32:14 1997 +0000
@@ -5889,6 +5889,9 @@
       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)