Skip to content

Fix #78538: shmop memory leak#4944

Closed
cmb69 wants to merge 1 commit intophp:PHP-7.3from
cmb69:fix-78538
Closed

Fix #78538: shmop memory leak#4944
cmb69 wants to merge 1 commit intophp:PHP-7.3from
cmb69:fix-78538

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Nov 25, 2019

Fix bug #78538.

If the descriptor's refcount drops to zero, we have to unmap the
respective file view, to avoid leaking memory.

If the descriptor's refcount drops to zero, we have to unmap the
respective file view, to avoid leaking memory.
@nikic
Copy link
Member

nikic commented Dec 5, 2019

Not really familiar with this code, but looks reasonable.

@cmb69
Copy link
Member Author

cmb69 commented Dec 27, 2019

If there are no objections, I'll merge this in a week. Thanks.

@cmb69
Copy link
Member Author

cmb69 commented Jan 3, 2020

Applied as 1817230. Thanks.

@cmb69 cmb69 closed this Jan 3, 2020
@cmb69 cmb69 deleted the fix-78538 branch January 3, 2020 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants