We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e665732 commit 58d53e7Copy full SHA for 58d53e7
Zend/zend_objects_API.c
@@ -113,12 +113,16 @@ ZEND_API void ZEND_FASTCALL zend_objects_store_free_object_storage(zend_objects_
113
//zend_mm_validate(zend_mm_get_heap());
114
//puts("Post flags OK\n");
115
116
+ if (obj->handlers->free_obj != zend_object_std_dtor) {
117
GC_ADDREF(obj);
118
119
120
//puts("Pre validation OK\n");
121
122
obj->handlers->free_obj(obj);
123
+ } else {
124
+ printf("Skipping free on %p during free_object_storage\n", obj);
125
+ }
126
127
128
//puts("Post validation OK\n");
0 commit comments