summaryrefslogtreecommitdiff
path: root/ext/date/lib/timelib.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-07-05 18:30:30 (GMT)
committerDerick Rethans <derick@php.net>2005-07-05 18:30:30 (GMT)
commitd75d455737f8036f5f393f5d6191be19f04f1461 (patch)
treec3df2069eee06b5a13e0df9f43fc8a8a0ce954e0 /ext/date/lib/timelib.c
parent312a8eede3b76a5389832021a7c8483050d9271e (diff)
downloadphp-d75d455737f8036f5f393f5d6191be19f04f1461.tar.gz
- Change memory management so that tzinfo structures can live outside time
structures too.
Diffstat (limited to 'ext/date/lib/timelib.c')
-rw-r--r--ext/date/lib/timelib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/date/lib/timelib.c b/ext/date/lib/timelib.c
index 576b2e2..eae26ab 100644
--- a/ext/date/lib/timelib.c
+++ b/ext/date/lib/timelib.c
@@ -49,10 +49,6 @@ void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr)
void timelib_time_dtor(timelib_time* t)
{
TIMELIB_TIME_FREE(t->tz_abbr);
- if (t->tz_info) {
- timelib_tzinfo_dtor(t->tz_info);
- t->tz_info = NULL;
- }
TIMELIB_TIME_FREE(t);
}