diff --git a/src/ck_hs.c b/src/ck_hs.c index 9c91aa7..72e365e 100644 --- a/src/ck_hs.c +++ b/src/ck_hs.c @@ -584,6 +584,7 @@ ck_hs_gc(struct ck_hs *hs, unsigned long cycles, unsigned long seed) if (first != NULL) { const void *insert = ck_hs_marshal(hs->mode, entry, h); + ck_pr_store_ptr_unsafe(first, insert); ck_hs_map_signal(map, h); ck_pr_store_ptr(slot, CK_HS_TOMBSTONE);