mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
- Path which should improve previous fix.
This commit is contained in:
parent
4271895222
commit
1b5ac1386e
@ -120,7 +120,10 @@ void zend_objects_store_del_ref(zval *zobject TSRMLS_DC)
|
||||
if (obj->dtor) {
|
||||
obj->dtor(obj->object, handle TSRMLS_CC);
|
||||
}
|
||||
ZEND_OBJECTS_STORE_ADD_TO_FREE_LIST();
|
||||
EG(objects_store).object_buckets[handle].valid = 0;
|
||||
if (obj->refcount == 0) {
|
||||
ZEND_OBJECTS_STORE_ADD_TO_FREE_LIST();
|
||||
}
|
||||
}
|
||||
}
|
||||
#if ZEND_DEBUG_OBJECTS
|
||||
|
Loading…
Reference in New Issue
Block a user