summaryrefslogtreecommitdiff
path: root/ext/date/lib/timelib.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2008-12-17 21:32:29 +0000
committerIlia Alshanetsky <iliaa@php.net>2008-12-17 21:32:29 +0000
commit9c97213e0b40045cb973ccb151e9ec1b334a2973 (patch)
treef0d7c8ac5c5fd5bbe56ec6588a984997c6287958 /ext/date/lib/timelib.c
parent6393540c75030a3c534be0592e447e1805acb8d4 (diff)
downloadphp-git-9c97213e0b40045cb973ccb151e9ec1b334a2973.tar.gz
Fix a small portion of memory leak in bug #46889
Diffstat (limited to 'ext/date/lib/timelib.c')
-rw-r--r--ext/date/lib/timelib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/lib/timelib.c b/ext/date/lib/timelib.c
index 61cc55ab78..3632844bf1 100644
--- a/ext/date/lib/timelib.c
+++ b/ext/date/lib/timelib.c
@@ -133,6 +133,7 @@ void timelib_tzinfo_dtor(timelib_tzinfo *tz)
TIMELIB_TIME_FREE(tz->type);
TIMELIB_TIME_FREE(tz->timezone_abbr);
TIMELIB_TIME_FREE(tz->leap_times);
+ TIMELIB_TIME_FREE(tz->location.comments);
TIMELIB_TIME_FREE(tz);
tz = NULL;
}