diff --git a/gc.c b/gc.c index 6157d6dd9e..e79e19ba48 100644 --- a/gc.c +++ b/gc.c @@ -2172,7 +2172,7 @@ slot_sweep_body(rb_objspace_t *objspace, struct heaps_slot *sweep_slot, const in (FL_TEST(p, FL_FINALIZE))) { if (!deferred) { p->as.free.flags = T_ZOMBIE; - + RDATA(p)->dfree = 0; } p->as.free.next = deferred_final_list;