Skip to content

FPM: Fix memory leak for invalid primary script file handle #11088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

bukka
Copy link
Member

@bukka bukka commented Apr 16, 2023

This is follow up for #10707 that fixed the primary script file handle leak. It is actually necessary to destroy file handle even if the php_fopen_primary_script fails which we did not anticipate. I noticed the leak when testing #10986 .

@bukka bukka changed the base branch from master to PHP-8.1 April 16, 2023 15:00
@bukka bukka closed this in 4294e8d May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant