diff --git a/src/object_heap.c b/src/object_heap.c index bc5998f..890e8ed 100644 --- a/src/object_heap.c +++ b/src/object_heap.c @@ -213,7 +213,6 @@ static void object_heap_free_unlocked(object_heap_p heap, object_base_p obj) ASSERT(obj->next_free == ALLOCATED); obj->next_free = heap->next_free; - heap->next_free = obj->id & OBJECT_HEAP_ID_MASK; } void object_heap_free(object_heap_p heap, object_base_p obj)