Skip to content

Fixed memory leak in strtotime #324

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
Closed

Conversation

jheising
Copy link

timelib_tzinfo *tzi was being created but destroyed. Shouldn't timelib_tzinfo_dtor(tzi) be called?

timelib_tzinfo *tzi was being created but destroyed. Shouldn't timelib_tzinfo_dtor(tzi) be called?
@weltling
Copy link
Contributor

weltling commented Jul 9, 2013

@jheising ping, what about the test?

@smalyshev
Copy link
Contributor

I'm not sure this is right. tzi is assigned to now->tz_info, I don't think it's right to destroy it in line 1476. If fact, when I try to run it, 002.phpt fails.

@dsp
Copy link
Member

dsp commented Sep 16, 2013

No tests, and no further discussions. I am closing this PR for now due to open issues. Please open a new one if you update the patch.

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.

5 participants