X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=struct%2Fht.c;fp=struct%2Fht.c;h=54eb2e05724a6a2f68c98640d3b616699e2a05af;hp=8d5e1600e3ad6d5441bcec4baf4c52fa6fff6b33;hb=69f813b01bb0472f9ec5368b26a702bcc06f7e29;hpb=4a7804bd08c790fc3c4233312e4b485c3302fe02 diff --git a/struct/ht.c b/struct/ht.c index 8d5e160..54eb2e0 100644 --- a/struct/ht.c +++ b/struct/ht.c @@ -217,7 +217,7 @@ static int hti_copy_entry (hash_table_i_t *old_hti, volatile entry_t *old_e, uin // be freed. assert(COPIED_VALUE == TAG_VALUE(TOMBSTONE)); if (old_e_value == TOMBSTONE) { - nbd_free((string_t *)(old_e->key & MASK(48))); + nbd_defer_free((string_t *)(old_e->key & MASK(48))); return TRUE; } old_e_value = STRIP_TAG(old_e_value);