Skip to content

Commit

Permalink
Fixes memory leak introduced in 2b9af96
Browse files Browse the repository at this point in the history
  • Loading branch information
ralt committed Nov 23, 2014
1 parent 69b9381 commit 489bfb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/date/php_date.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 489bfb0

Please sign in to comment.