aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/alloc.c b/src/alloc.c
index dd4823bd9e3..c38376d80bc 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4979,10 +4979,9 @@ mark_object (arg)
4979 if (XMISCTYPE (obj) == Lisp_Misc_Free) 4979 if (XMISCTYPE (obj) == Lisp_Misc_Free)
4980 { 4980 {
4981 /* This is (probably) a freed marker which may still exist on 4981 /* This is (probably) a freed marker which may still exist on
4982 a buffer undo list, so accept it here. */ 4982 a buffer undo list, so accept it here, as check below will
4983 /* If we reuse the marker, and it still exists on the undo 4983 fail (not live). KFS 2004-05-17 */
4984 list, and we do undo, behaviour is unpredictable -- 4984 XMARKER (obj)->gcmarkbit = 1;
4985 but at least we don't crash here. KFS 2004-05-17 */
4986 break; 4985 break;
4987 } 4986 }
4988 CHECK_ALLOCATED_AND_LIVE (live_misc_p); 4987 CHECK_ALLOCATED_AND_LIVE (live_misc_p);