Skip to content

Commit 99e419f

Browse files
committed
Test
1 parent decbfcc commit 99e419f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Zend/zend_objects_API.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,7 @@ ZEND_API void ZEND_FASTCALL zend_objects_store_del(zend_object *object) /* {{{ *
215215
object->handlers->free_obj(object);
216216
printf("Freeing %p and invoking free\n", object);
217217
} else {
218-
GC_ADD_FLAGS(object, IS_OBJ_FREE_CALLED);
219-
GC_SET_REFCOUNT(object, 1);
220-
object->handlers->free_obj(object);
221-
222-
printf("Freeing %p without invoking free\n", object);
218+
printf("Freeing %p without invoking free (%d)\n", object, OBJ_FLAGS(object));
223219
}
224220
ptr = ((char*)object) - object->handlers->offset;
225221
GC_REMOVE_FROM_BUFFER(object);

0 commit comments

Comments
 (0)