com php-src: Fixed reference handling in intltz_get_canonic al_id: ext/intl/timezone/timezone_methods.cpp

From: Date: Mon, 30 Jun 2014 03:03:03 +0000
Subject: com php-src: Fixed reference handling in intltz_get_canonic al_id: ext/intl/timezone/timezone_methods.cpp
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79146@lists.php.net to get a copy of this message
Commit: 9c96d966bbe7e5d3743498539822247fa5763c44 Author: Xinchen Hui <laruence@php.net> Mon, 30 Jun 2014 11:03:03 +0800 Parents: a0b500df9974dbf8ffdcf975449551495788ebe6 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9c96d966bbe7e5d3743498539822247fa5763c44 Log: Fixed reference handling in intltz_get_canonical_id Changed paths: M ext/intl/timezone/timezone_methods.cpp Diff: diff --git a/ext/intl/timezone/timezone_methods.cpp b/ext/intl/timezone/timezone_methods.cpp index a5624be..cde090c 100644 --- a/ext/intl/timezone/timezone_methods.cpp +++ b/ext/intl/timezone/timezone_methods.cpp @@ -325,6 +325,7 @@ U_CFUNC PHP_FUNCTION(intltz_get_canonical_id) efree(str); if (is_systemid) { /* by-ref argument passed */ + ZVAL_DEREF(is_systemid); zval_dtor(is_systemid); ZVAL_BOOL(is_systemid, isSystemID); }

« previous php.cvs (#79146) next »