summaryrefslogtreecommitdiff
path: root/ext/intl/timezone/timezone_methods.cpp
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2015-01-12 09:02:17 +0000
committerJakub Zelenka <bukka@php.net>2015-01-12 09:02:17 +0000
commitb3823f5cab4e405b767cd8dddebb54b1c29bd2a8 (patch)
treee42fbf615d62213c1e744b8a909155e8f2cdaa87 /ext/intl/timezone/timezone_methods.cpp
parente6fb493e5dbafdad37ba5334c986636342b5d9aa (diff)
parent31817447cc06093368f022086340ad3f6f616528 (diff)
downloadphp-git-b3823f5cab4e405b767cd8dddebb54b1c29bd2a8.tar.gz
Merge branch 'master' into jsond
Conflicts: ext/json/JSON_parser.c ext/json/JSON_parser.h ext/json/json.c ext/json/utf8_decode.c
Diffstat (limited to 'ext/intl/timezone/timezone_methods.cpp')
-rw-r--r--ext/intl/timezone/timezone_methods.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/timezone/timezone_methods.cpp b/ext/intl/timezone/timezone_methods.cpp
index 053918ad04..641727d7ed 100644
--- a/ext/intl/timezone/timezone_methods.cpp
+++ b/ext/intl/timezone/timezone_methods.cpp
@@ -304,7 +304,7 @@ U_CFUNC PHP_FUNCTION(intltz_get_canonical_id)
UBool isSystemID;
TimeZone::getCanonicalID(id, result, isSystemID, status);
INTL_CHECK_STATUS(status, "intltz_get_canonical_id: error obtaining canonical ID");
-
+
char *str;
size_t str_len;
intl_convert_utf16_to_utf8(&str, &str_len, result.getBuffer(), result.length(), &status);
@@ -313,7 +313,7 @@ U_CFUNC PHP_FUNCTION(intltz_get_canonical_id)
RETVAL_STRINGL(str, str_len);
//????
efree(str);
-
+
if (is_systemid) { /* by-ref argument passed */
ZVAL_DEREF(is_systemid);
zval_dtor(is_systemid);