Skip to content

Fixed memory leak in strtotime - #324

Closed
jheising wants to merge 1 commit into
php:masterfrom
jheising:patch-1
Closed

jheising wants to merge 1 commit into
php:masterfrom
jheising:patch-1

Conversation

@jheising

Copy link
Copy Markdown

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

weltling commented Jul 9, 2013

Copy link
Copy Markdown
Contributor

@jheising ping, what about the test?

@smalyshev

Copy link
Copy Markdown
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

dsp commented Sep 16, 2013

Copy link
Copy Markdown
Member

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