Skip to content

Commit 489bfb0

Browse files
committed
Fixes memory leak introduced in 2b9af96
Fixes https://bugs.php.net/bug.php?id=68285
1 parent 69b9381 commit 489bfb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/date/php_date.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3665,6 +3665,7 @@ static int timezone_initialize(php_timezone_obj *tzobj, /*const*/ char *tz TSRML
36653665
return FAILURE;
36663666
} else {
36673667
set_timezone_from_timelib_time(tzobj, dummy_t);
3668+
free(dummy_t->tz_abbr);
36683669
efree(dummy_t);
36693670
return SUCCESS;
36703671
}

0 commit comments

Comments
 (0)