com php-src: Fixed Z_ADDREF: ext/spl/spl_fixedarray.c
| From: | Dmitry Stogov | Date: | Fri, 28 Feb 2014 07:29:00 +0000 |
| Subject: | com php-src: Fixed Z_ADDREF: ext/spl/spl_fixedarray.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77875@lists.php.net to get a copy of this message | ||
Commit: 0def388427d42dbcb2c4775335b4559039026588
Author: Xinchen Hui <laruence@gmail.com> Fri, 28 Feb 2014 15:29:00 +0800
Parents: 142dd010065955cdec3862d03dd0b135599f1a27
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0def388427d42dbcb2c4775335b4559039026588
Log:
Fixed Z_ADDREF
Changed paths:
M ext/spl/spl_fixedarray.c
Diff:
diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c
index 758eec3..685c954 100644
--- a/ext/spl/spl_fixedarray.c
+++ b/ext/spl/spl_fixedarray.c
@@ -169,7 +169,6 @@ static HashTable* spl_fixedarray_object_get_properties(zval *obj TSRMLS_DC) /* {
Z_ADDREF_P(&intern->array->elements[i]);
} else {
zend_hash_index_update(ht, i, &EG(uninitialized_zval));
- Z_ADDREF_P(&EG(uninitialized_zval));
}
}
if (j > intern->array->size) {