changeset 5898:105c99071e9b

(x_destroy_window) [USE_X_TOOLKIT]: Call free_frame_menubar.
author Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
date Fri, 11 Feb 1994 13:25:11 +0000
parents 5a68abc8f1f9
children 4e8f26a0f2b7
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Feb 11 13:19:19 1994 +0000
+++ b/src/xterm.c	Fri Feb 11 13:25:11 1994 +0000
@@ -95,6 +95,7 @@
 #ifdef USE_X_TOOLKIT
 extern XtAppContext Xt_app_con;
 extern Widget Xt_app_shell;
+extern void free_frame_menubar ();
 #endif /* USE_X_TOOLKIT */
 
 #ifdef HAVE_X11
@@ -4923,6 +4924,7 @@
   XDestroyWindow (XDISPLAY f->display.x->window_desc);
 #ifdef USE_X_TOOLKIT
   XtDestroyWidget (f->display.x->widget);
+  free_frame_menubar (f);
 #endif /* USE_X_TOOLKIT */
 
   free_frame_faces (f);