From 84ab9aa4045bf04d38538a7f89b859fa939ae8d7 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 17 Dec 2008 21:32:40 +0000 Subject: [PATCH] MFB: Fix a small portion of memory leak in bug #46889 --- ext/date/lib/timelib.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.50.1