Commit 4e131d9a authored by Erwan Croze's avatar Erwan Croze 👋🏻

Fix xml2lpc, unset error callback to not disturb other user of xml2 lib

parent dbee6e8b
......@@ -61,6 +61,11 @@ void xml2lpc_context_destroy(xml2lpc_context *ctx) {
xmlFreeDoc(ctx->xsd);
ctx->xsd = NULL;
}
// TODO Fix me, xml2 isn't robust for use with multiple context
// Unset callback to not disturb other user of the xml lib
xmlSetGenericErrorFunc(NULL, NULL);
free(ctx);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment