aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 91c5152ca84..8ebf3e05d69 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6554,6 +6554,7 @@ mark_object (Lisp_Object arg)
6554 break; 6554 break;
6555 6555
6556 case Lisp_Misc_Ptr: 6556 case Lisp_Misc_Ptr:
6557 case Lisp_Misc_Bignum:
6557 XMISCANY (obj)->gcmarkbit = true; 6558 XMISCANY (obj)->gcmarkbit = true;
6558 break; 6559 break;
6559 6560
@@ -6973,6 +6974,8 @@ sweep_misc (void)
6973 uptr->finalizer (uptr->p); 6974 uptr->finalizer (uptr->p);
6974 } 6975 }
6975#endif 6976#endif
6977 else if (mblk->markers[i].m.u_any.type == Lisp_Misc_Bignum)
6978 mpz_clear (mblk->markers[i].m.u_bignum.value);
6976 /* Set the type of the freed object to Lisp_Misc_Free. 6979 /* Set the type of the freed object to Lisp_Misc_Free.
6977 We could leave the type alone, since nobody checks it, 6980 We could leave the type alone, since nobody checks it,
6978 but this might catch bugs faster. */ 6981 but this might catch bugs faster. */