diff options
| author | Florian MARGAINE <florian@margaine.com> | 2014-11-23 01:42:26 +0100 |
|---|---|---|
| committer | Florian MARGAINE <florian@margaine.com> | 2014-11-23 01:42:26 +0100 |
| commit | 489bfb0af9a03ea1d2134e0bf84670e40e5f05ca (patch) | |
| tree | e9b70fc144ce641644d186a6301192640dab4b4e /ext/date/php_date.c | |
| parent | 69b9381901e8ab9372ef034a54833461c9e7bb76 (diff) | |
| download | php-git-489bfb0af9a03ea1d2134e0bf84670e40e5f05ca.tar.gz | |
Fixes memory leak introduced in 2b9af967
Fixes https://bugs.php.net/bug.php?id=68285
Diffstat (limited to 'ext/date/php_date.c')
| -rw-r--r-- | ext/date/php_date.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 5b62b540b7..fe1430f028 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; } |
