com php-src: Fixed refcounting: Zend/zend_object_handlers .c
| From: | Dmitry Stogov | Date: | Fri, 28 Feb 2014 19:25:06 +0000 |
| Subject: | com php-src: Fixed refcounting: Zend/zend_object_handlers .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77819@lists.php.net to get a copy of this message | ||
Commit: 29d61b65274b9aaefba934a82912b90c005f8930
Author: Dmitry Stogov <dmitry@zend.com> Fri, 28 Feb 2014 23:25:06 +0400
Parents: 843423716b219d8c75bab6835a064a7d7030d937
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=29d61b65274b9aaefba934a82912b90c005f8930
Log:
Fixed refcounting
Changed paths:
M Zend/zend_object_handlers.c
Diff:
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c
index 4b40fca..e86aee1 100644
--- a/Zend/zend_object_handlers.c
+++ b/Zend/zend_object_handlers.c
@@ -683,7 +683,7 @@ zval *zend_std_read_dimension(zval *object, zval *offset, int type, zval *rv TSR
}
/* Undo PZVAL_LOCK() */
- if (Z_REFCOUNTED_P(rv)) Z_DELREF_P(rv);
+//??? if (Z_REFCOUNTED_P(rv)) Z_DELREF_P(rv);
return rv;
} else {