diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2014-03-22 01:13:15 +0400 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2014-03-22 01:13:15 +0400 |
| commit | 0e91c5a58630b3e5e7ac5d6f70d299f400b2fee5 (patch) | |
| tree | 483010799f56f639b616ca2e68ada64a87205f69 /ext | |
| parent | 6da4759769d198b4c639ebc4a15ce8cc11472e92 (diff) | |
| download | php-git-0e91c5a58630b3e5e7ac5d6f70d299f400b2fee5.tar.gz | |
Fixed refcounting
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/spl/spl_iterators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 0857fd5c9f..522049be43 100644 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -1452,9 +1452,9 @@ static spl_dual_it_object* spl_dual_it_construct(INTERNAL_FUNCTION_PARAMETERS, z zend_restore_error_handling(&error_handling TSRMLS_CC); return NULL; } - ZVAL_COPY_VALUE(zobject, &retval); + zobject = &retval; ce = Z_OBJCE_P(zobject); - //??? inc_refcount = 0; + inc_refcount = 0; } } break; |
