1
0
mirror of https://github.com/php/php-src.git synced 2026-04-07 16:13:32 +02:00

Fixed iterator dtor

This commit is contained in:
Dmitry Stogov
2014-03-20 23:28:24 +04:00
parent 24b72415cb
commit 6186bc6dff
2 changed files with 4 additions and 2 deletions

View File

@@ -3346,7 +3346,8 @@ again:
}
ZEND_VM_C_LABEL(unpack_iter_dtor):
iter->funcs->dtor(iter TSRMLS_CC);
//??? iter->funcs->dtor(iter TSRMLS_CC);
zend_iterator_dtor(iter TSRMLS_CC);
break;
}
case IS_REFERENCE:

View File

@@ -824,7 +824,8 @@ again:
}
unpack_iter_dtor:
iter->funcs->dtor(iter TSRMLS_CC);
//??? iter->funcs->dtor(iter TSRMLS_CC);
zend_iterator_dtor(iter TSRMLS_CC);
break;
}
case IS_REFERENCE: