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",
|
||||
ctxt->context->functionURI, ctxt->context->function);
|
||||
xmlFreeNode(fake);
|
||||
xmlXPathFreeObject(ret);
|
||||
goto error;
|
||||
}
|
||||
xmlFreeNode(fake);
|
||||
|
Reference in New Issue
Block a user