Skip to content

Commit 4f06b62

Browse files
author
Julien Pauli
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Updated NEWS Updated NEWS Fix #75015. Crash in SPL destructors
2 parents ad5222c + f0d4028 commit 4f06b62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/spl/spl_iterators.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,7 @@ static void spl_RecursiveIteratorIterator_free_storage(zend_object *_object)
941941
if (object->iterators) {
942942
efree(object->iterators);
943943
object->iterators = NULL;
944+
object->level = 0;
944945
}
945946

946947
zend_object_std_dtor(&object->std);

0 commit comments

Comments
 (0)