changeset 61252:d24c6e8f9add

(Fgarbage_collect): Call CHECK_CONS_LIST before and after gc.
author Kim F. Storm <storm@cua.dk>
date Sun, 03 Apr 2005 22:27:05 +0000
parents b265ce19eaf8
children 3872cb794466
files src/alloc.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Sun Apr 03 22:26:43 2005 +0000
+++ b/src/alloc.c	Sun Apr 03 22:27:05 2005 +0000
@@ -4687,6 +4687,8 @@
   if (pure_bytes_used_before_overflow)
     return Qnil;
 
+  CHECK_CONS_LIST ();
+
   /* Don't keep undo information around forever.
      Do this early on, so it is no problem if the user quits.  */
   {
@@ -4880,6 +4882,8 @@
 
   UNBLOCK_INPUT;
 
+  CHECK_CONS_LIST ();
+
   /* clear_marks (); */
   gc_in_progress = 0;