diff options
| author | Kim F. Storm | 2005-04-03 22:27:05 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-04-03 22:27:05 +0000 |
| commit | bbc012e0c3a0e91beecb09643956fa09979420ab (patch) | |
| tree | 9cb6b3d77122c64bc9bf54c82ffea5597023d595 /src | |
| parent | 4d5ddddce81222d58dcaa8840fe68c2fe4ecc7dc (diff) | |
| download | emacs-bbc012e0c3a0e91beecb09643956fa09979420ab.tar.gz emacs-bbc012e0c3a0e91beecb09643956fa09979420ab.zip | |
(Fgarbage_collect): Call CHECK_CONS_LIST before and after gc.
Diffstat (limited to 'src')
| -rw-r--r-- | src/alloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index a907247d21c..f3af3940e15 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4687,6 +4687,8 @@ returns nil, because real GC can't be done. */) | |||
| 4687 | if (pure_bytes_used_before_overflow) | 4687 | if (pure_bytes_used_before_overflow) |
| 4688 | return Qnil; | 4688 | return Qnil; |
| 4689 | 4689 | ||
| 4690 | CHECK_CONS_LIST (); | ||
| 4691 | |||
| 4690 | /* Don't keep undo information around forever. | 4692 | /* Don't keep undo information around forever. |
| 4691 | Do this early on, so it is no problem if the user quits. */ | 4693 | Do this early on, so it is no problem if the user quits. */ |
| 4692 | { | 4694 | { |
| @@ -4880,6 +4882,8 @@ returns nil, because real GC can't be done. */) | |||
| 4880 | 4882 | ||
| 4881 | UNBLOCK_INPUT; | 4883 | UNBLOCK_INPUT; |
| 4882 | 4884 | ||
| 4885 | CHECK_CONS_LIST (); | ||
| 4886 | |||
| 4883 | /* clear_marks (); */ | 4887 | /* clear_marks (); */ |
| 4884 | gc_in_progress = 0; | 4888 | gc_in_progress = 0; |
| 4885 | 4889 | ||