diff options
-rw-r--r-- | ext/intl/converter/converter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/intl/converter/converter.c b/ext/intl/converter/converter.c index 079f69e993..95b0e6592c 100644 --- a/ext/intl/converter/converter.c +++ b/ext/intl/converter/converter.c @@ -542,7 +542,8 @@ static void php_converter_resolve_callback(zval *zobj, if (zend_fcall_info_init(&caller, 0, finfo, fcache, NULL, &errstr) == FAILURE) { php_converter_throw_failure(objval, U_INTERNAL_PROGRAM_ERROR, "Error setting converter callback: %s", errstr); } - zval_dtor(&caller); + zend_array_destroy(Z_ARR(caller)); + ZVAL_UNDEF(&finfo->function_name); if (errstr) { efree(errstr); } |