mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Use zval_ptr_dtor_nogc() for callable in ext/xslt (#11356)
It cannot contain cycles because it's either a string or an array with 2 strings.
This commit is contained in:
@@ -289,7 +289,7 @@ static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int t
|
||||
zval_ptr_dtor(&retval);
|
||||
}
|
||||
zend_string_release_ex(callable, 0);
|
||||
zval_ptr_dtor(&handler);
|
||||
zval_ptr_dtor_nogc(&handler);
|
||||
if (fci.param_count > 0) {
|
||||
for (i = 0; i < nargs - 1; i++) {
|
||||
zval_ptr_dtor(&args[i]);
|
||||
|
||||
Reference in New Issue
Block a user