Skip to content

Fix GH-7958: Nested CallbackFilterIterator is leaking memory#8107

Closed
cmb69 wants to merge 2 commits intophp:PHP-8.1from
cmb69:cmb/gh7958
Closed

Fix GH-7958: Nested CallbackFilterIterator is leaking memory#8107
cmb69 wants to merge 2 commits intophp:PHP-8.1from
cmb69:cmb/gh7958

Conversation

@cmb69
Copy link
Copy Markdown
Member

@cmb69 cmb69 commented Feb 17, 2022

We implement zend_object_iterator_funcs.get_gc for user iterators to
avoid the memory leak.

We implement `zend_object_iterator_funcs.get_gc` for user iterators to
avoid the memory leak.
@cmb69 cmb69 linked an issue Feb 17, 2022 that may be closed by this pull request
@cmb69 cmb69 closed this in fb70460 Feb 21, 2022
@cmb69 cmb69 deleted the cmb/gh7958 branch February 21, 2022 11:41
@mvorisek
Copy link
Copy Markdown
Contributor

Can this fix be cherrypicked also into PHP 8.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nested CallbackFilterIterator is leaking memory

3 participants