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

Projects
None yet
2 participants
@tony2001
Copy link

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 pull request Feb 26, 2015

epriestley pushed a commit that referenced this pull request Feb 26, 2015

@epriestley

This comment has been minimized.

Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.