emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src frame.c


From: Chong Yidong
Subject: [Emacs-diffs] emacs/src frame.c
Date: Sat, 20 Dec 2008 20:51:23 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/12/20 20:51:23

Modified files:
        src            : frame.c 

Log message:
        Add comment to last change by jhd.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/frame.c?cvsroot=emacs&r1=1.402&r2=1.403

Patches:
Index: frame.c
===================================================================
RCS file: /sources/emacs/emacs/src/frame.c,v
retrieving revision 1.402
retrieving revision 1.403
diff -u -b -r1.402 -r1.403
--- frame.c     20 Dec 2008 15:59:50 -0000      1.402
+++ frame.c     20 Dec 2008 20:51:23 -0000      1.403
@@ -1480,6 +1480,10 @@
   Vframe_list = Fdelq (frame, Vframe_list);
   FRAME_SET_VISIBLE (f, 0);
 
+  /* Allow the vector of menu bar contents to be freed in the next
+     garbage collection.  The frame object itself may not be garbage
+     collected until much later, because recent_keys and other data
+     structures can still refer to it.  */
   f->menu_bar_vector = Qnil;
 
   free_font_driver_list (f);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]