1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

Fix calls to deprecated init/cleanup functions

Only use xmlInitParser/xmlCleanupParser.
This commit is contained in:
Nick Wellnhofer
2022-03-29 14:18:31 +02:00
parent d9335077dd
commit 92bff86614
7 changed files with 5 additions and 8 deletions

View File

@@ -1554,7 +1554,7 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
return(-1);
}
xmlDefaultSAXHandlerInit();
xmlInitParser();
if (ctxt->dict == NULL)
ctxt->dict = xmlDictCreate();