diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 5b62b540b7710..fe1430f028566 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -3665,6 +3665,7 @@ static int timezone_initialize(php_timezone_obj *tzobj, /*const*/ char *tz TSRML return FAILURE; } else { set_timezone_from_timelib_time(tzobj, dummy_t); + free(dummy_t->tz_abbr); efree(dummy_t); return SUCCESS; }