Skip to content
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

fix minor memleak fix in xhprof_enable() with ignored funcs #60

Closed
wants to merge 1 commit into from

Conversation

@tony2001
Copy link

@tony2001 tony2001 commented Feb 26, 2015

the ignored funcs array (and its elements) is freed only on shutdown, so every xhprof_enable() call causes a minor memleak.

epriestley pushed a commit that referenced this issue Feb 26, 2015
epriestley pushed a commit that referenced this issue Feb 26, 2015
@epriestley
Copy link
Member

@epriestley epriestley commented Feb 26, 2015

I added a test for this in a64844d and applied the fix in ff8b389. Thanks!

@epriestley epriestley closed this Feb 26, 2015
remicollet pushed a commit to remicollet/xhprof that referenced this issue Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants