Skip to content

Fix GH-8366: ArrayIterator may leak when calling __construct() - #8374

Closed
cmb69 wants to merge 1 commit into
php:PHP-8.0from
cmb69:cmb/gh8366
Closed

cmb69 wants to merge 1 commit into
php:PHP-8.0from
cmb69:cmb/gh8366

Conversation

@cmb69

@cmb69 cmb69 commented Apr 14, 2022 •

Copy link
Copy Markdown
Member

When we detach an iterator, we must also have to delete it.

When we detach an iterator, we must also have to delete it.
@cmb69 cmb69 linked an issue Apr 14, 2022 that may be closed by this pull request
@cmb69 cmb69 closed this in 1762a87 Apr 15, 2022
@cmb69
cmb69 deleted the cmb/gh8366 branch April 15, 2022 17:12
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.

Memory leak in ArrayIterator when manually calling __construct()

3 participants