ck_bag: Do not defer destruction in ck_bag_destroy.

ck_pring
Samy Al Bahra 13 years ago
parent f940cc1263
commit f63e2ea8fc

@ -93,7 +93,7 @@ ck_bag_destroy(struct ck_bag *bag)
while (bag->head != NULL) {
cursor = bag->head;
bag->head = ck_bag_block_next(cursor->next.ptr);
allocator.free(cursor, bag->info.bytes, true);
allocator.free(cursor, bag->info.bytes, false);
}
return;

Loading…
Cancel
Save