From 9c96d966bbe7e5d3743498539822247fa5763c44 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 30 Jun 2014 11:03:03 +0800 Subject: [PATCH] Fixed reference handling in intltz_get_canonical_id --- ext/intl/timezone/timezone_methods.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/intl/timezone/timezone_methods.cpp b/ext/intl/timezone/timezone_methods.cpp index a5624be6e2..cde090c243 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); } -- 2.40.0