diff options
author | Nikita Popov <nikic@php.net> | 2015-04-16 21:51:47 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-04-17 09:28:38 +0200 |
commit | 81387562950a4f13238de5782e750fce163304e3 (patch) | |
tree | 4e89aa791b6145c61b1908e47cf663e18cdc9c1e /ext/intl/dateformat | |
parent | 4e2be45309f02ff1fa7305d33d45e64d773d1b24 (diff) | |
download | php-git-81387562950a4f13238de5782e750fce163304e3.tar.gz |
Fix leak in IntlDateFormatter::getTimeZone()
Diffstat (limited to 'ext/intl/dateformat')
-rw-r--r-- | ext/intl/dateformat/dateformat_attrcpp.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/intl/dateformat/dateformat_attrcpp.cpp b/ext/intl/dateformat/dateformat_attrcpp.cpp index 8320904b63..49c4094a40 100644 --- a/ext/intl/dateformat/dateformat_attrcpp.cpp +++ b/ext/intl/dateformat/dateformat_attrcpp.cpp @@ -94,7 +94,6 @@ U_CFUNC PHP_FUNCTION(datefmt_get_timezone) RETURN_FALSE; } - object_init_ex(return_value, TimeZone_ce_ptr); timezone_object_construct(tz_clone, return_value, 1); } |