diff options
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 9679ff92dd..924b9f32cc 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -195,7 +195,7 @@ ZEND_API inline void safe_free_zval_ptr(zval *p) } -ZEND_API void zval_ptr_dtor(zval **zval_ptr) +ZEND_API int zval_ptr_dtor(zval **zval_ptr) { #if DEBUG_ZEND>=2 printf("Reducing refcount for %x (%x): %d->%d\n", *zval_ptr, zval_ptr, (*zval_ptr)->refcount, (*zval_ptr)->refcount-1); @@ -205,6 +205,7 @@ ZEND_API void zval_ptr_dtor(zval **zval_ptr) zval_dtor(*zval_ptr); safe_free_zval_ptr(*zval_ptr); } + return 1; } |