diff options
| author | Richard M. Stallman | 1997-04-27 03:32:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-04-27 03:32:14 +0000 |
| commit | 0c49ce2f28a3be740c526790d922c65dbbf2b8ed (patch) | |
| tree | 12537a7a674f2a756927091e082dcb0ae811421e /src | |
| parent | 25734faf59d55f88d603bc6580cefb2ad70caddc (diff) | |
| download | emacs-0c49ce2f28a3be740c526790d922c65dbbf2b8ed.tar.gz emacs-0c49ce2f28a3be740c526790d922c65dbbf2b8ed.zip | |
(x_destroy_window): Free saved_menu_event, if any.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 3 |
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) |