From: Ilia Alshanetsky Date: Wed, 17 Dec 2008 21:32:40 +0000 (+0000) Subject: MFB: Fix a small portion of memory leak in bug #46889 X-Git-Tag: php-5.4.0alpha1~191^2~4785 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84ab9aa4045bf04d38538a7f89b859fa939ae8d7;p=php MFB: 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; }