From: Ilia Alshanetsky Date: Wed, 17 Dec 2008 21:32:29 +0000 (+0000) Subject: Fix a small portion of memory leak in bug #46889 X-Git-Tag: php-5.3.0beta1~409 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c97213e0b40045cb973ccb151e9ec1b334a2973;p=php Fix a small portion of memory leak in bug #46889 --- 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; }