1
0
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:
Nick Wellnhofer
2019-02-12 02:45:50 +01:00
parent f93a242dd2
commit 00b327b6ca

View File

@@ -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);