diff options
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r-- | Zend/zend_variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c index cafcdb4b12..15a8e04f57 100644 --- a/Zend/zend_variables.c +++ b/Zend/zend_variables.c @@ -114,7 +114,7 @@ dtor_unicode: ZEND_API void zval_add_ref(zval **p) /* {{{ */ { - (*p)->refcount++; + Z_ADDREF_PP(p); } /* }}} */ |