mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-07 10:42:55 +03:00
Fix memory leak in EXSLT functions error path
This commit is contained in:
@@ -476,6 +476,7 @@ exsltFuncFunctionFunction (xmlXPathParserContextPtr ctxt, int nargs) {
|
|||||||
"executing a function\n",
|
"executing a function\n",
|
||||||
ctxt->context->functionURI, ctxt->context->function);
|
ctxt->context->functionURI, ctxt->context->function);
|
||||||
xmlFreeNode(fake);
|
xmlFreeNode(fake);
|
||||||
|
xmlXPathFreeObject(ret);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
xmlFreeNode(fake);
|
xmlFreeNode(fake);
|
||||||
|
Reference in New Issue
Block a user