diff options
author | Stanislav Malyshev <stas@php.net> | 2005-05-04 15:25:42 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2005-05-04 15:25:42 +0000 |
commit | 24150c7b1df631b04dd71d0d09c343f4606c5f9e (patch) | |
tree | 30f7a41d3083c9d0f9efee9537d47a79b1bb09b9 | |
parent | 3ccba5514ffd7fd6405e065663af6635de61ff72 (diff) | |
download | php-git-24150c7b1df631b04dd71d0d09c343f4606c5f9e.tar.gz |
clarify some magic
-rw-r--r-- | Zend/zend_execute.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index a09d8a9094..86413efc13 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1295,6 +1295,8 @@ static void zend_post_incdec_property(znode *result, znode *op1, znode *op2, tem z->refcount++; Z_OBJ_HT_P(object)->write_property(object, property, z_copy TSRMLS_CC); zval_ptr_dtor(&z_copy); + /* this would destroy z if it was returned with refcount == 0 and undo + recount++ above otherwise */ zval_ptr_dtor(&z); } |