Bug #6197 ยป 0_fix_php8_XsltExecutable.patch
php8_XsltExecutable.cpp | ||
---|---|---|
XdmValue *result = xsltExecutable->callFunctionReturningValue(
|
||
functionName, arguments, argument_length);
|
||
for (int i = 0; i< argument_length;i++) {
|
||
delete argument[i];
|
||
delete arguments[i];
|
||
}
|
||
delete [] argument_length;
|
||
delete [] arguments;
|
||
if (result != nullptr) {
|
||
result->incrementRefCount();
|
||
... | ... | |
}
|
||
} catch (SaxonApiException &e) {
|
||
for (int i = 0; i< argument_length;i++) {
|
||
delete argument[i];
|
||
delete arguments[i];
|
||
}
|
||
delete [] argument_length;
|
||
delete [] arguments;
|
||
zend_throw_exception(zend_ce_exception, e.getMessageWithErrorCode(), 0);
|
||
}
|
||
}
|