]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_destroy_window) [USE_X_TOOLKIT]: Call free_frame_menubar.
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Fri, 11 Feb 1994 13:25:11 +0000 (13:25 +0000)
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Fri, 11 Feb 1994 13:25:11 +0000 (13:25 +0000)
src/xterm.c

index ccbb59f750d06f4ee31185bb49fa5fd79758445f..9e9e020c52936d1a0d6b6e8d84f8f693195ba2a0 100644 (file)
@@ -95,6 +95,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #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 @@ x_destroy_window (f)
   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);