diff options
Diffstat (limited to 'Zend/zend_variables.c')
| -rw-r--r-- | Zend/zend_variables.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c index 58e1190fc1..5f04bfc372 100644 --- a/Zend/zend_variables.c +++ b/Zend/zend_variables.c @@ -39,12 +39,7 @@ ZEND_API void ZEND_FASTCALL _zval_dtor_func(zend_refcounted *p ZEND_FILE_LINE_DC } case IS_ARRAY: { zend_array *arr = (zend_array*)p; - ZEND_ASSERT(GC_REFCOUNT(arr) <= 1); - - /* break possible cycles */ - GC_REMOVE_FROM_BUFFER(arr); - GC_TYPE_INFO(arr) = IS_NULL | (GC_WHITE << 16); zend_array_destroy(arr); break; } @@ -97,9 +92,6 @@ ZEND_API void ZEND_FASTCALL _zval_dtor_func_for_ptr(zend_refcounted *p ZEND_FILE case IS_ARRAY: { zend_array *arr = (zend_array*)p; - /* break possible cycles */ - GC_REMOVE_FROM_BUFFER(arr); - GC_TYPE_INFO(arr) = IS_NULL | (GC_WHITE << 16); zend_array_destroy(arr); break; } |
