diff options
Diffstat (limited to 'ext/intl/timezone/timezone_methods.cpp')
-rw-r--r-- | ext/intl/timezone/timezone_methods.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/timezone/timezone_methods.cpp b/ext/intl/timezone/timezone_methods.cpp index c98a03639f..a5624be6e2 100644 --- a/ext/intl/timezone/timezone_methods.cpp +++ b/ext/intl/timezone/timezone_methods.cpp @@ -482,8 +482,10 @@ U_CFUNC PHP_FUNCTION(intltz_get_offset) INTL_METHOD_CHECK_STATUS(to, "intltz_get_offset: error obtaining offset"); + ZVAL_DEREF(rawOffsetArg); zval_dtor(rawOffsetArg); ZVAL_LONG(rawOffsetArg, rawOffset); + ZVAL_DEREF(dstOffsetArg); zval_dtor(dstOffsetArg); ZVAL_LONG(dstOffsetArg, dstOffset); |