diff options
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 7a463b5494..f2082b4ba0 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -772,7 +772,7 @@ ZEND_API void convert_to_object(zval *op) /* {{{ */ memcpy(properties, Z_ARRVAL_P(op), sizeof(HashTable)); object_and_properties_init(op, zend_standard_class_def, properties); - if (--arr->gc.refcount == 0) { + if (--GC_REFCOUNT(arr) == 0) { efree(arr); } break; |
