diff src/events.c @ 3092:141c2920ea48

[xemacs-hg @ 2005-11-25 01:41:31 by crestani] Incremental Garbage Collector
author crestani
date Fri, 25 Nov 2005 01:42:08 +0000
parents d30cd499e445
children 2fd201d73a92
line wrap: on
line diff
--- a/src/events.c	Thu Nov 24 22:51:25 2005 +0000
+++ b/src/events.c	Fri Nov 25 01:42:08 2005 +0000
@@ -2650,6 +2650,9 @@
 reinit_vars_of_events (void)
 {
   Vevent_resource = Qnil;
+#ifdef NEW_GC
+  staticpro (&Vevent_resource);
+#endif /* NEW_GC */
 }
 
 void