Skip to content

Commit cd06b5a

Browse files
author
Julien Pauli
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Updated NEWS Fix #75015. Crash in SPL destructors
2 parents d9d152b + 0c0cbb4 commit cd06b5a

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
@@ -942,6 +942,7 @@ static void spl_RecursiveIteratorIterator_free_storage(zend_object *_object)
942942
if (object->iterators) {
943943
efree(object->iterators);
944944
object->iterators = NULL;
945+
object->level = 0;
945946
}
946947

947948
zend_object_std_dtor(&object->std);

0 commit comments

Comments
 (0)