mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Remove use of xmlCleanupParser as suggested in the libxml2 docs. Fixes #3047.
git-svn-id: svn://localhost/ardour2/branches/3.0@6793 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2726184f42
commit
896aa29dcf
1 changed files with 0 additions and 2 deletions
|
|
@ -95,7 +95,6 @@ XMLTree::read_internal(bool validate)
|
||||||
if (validate && ctxt->valid == 0) {
|
if (validate && ctxt->valid == 0) {
|
||||||
xmlFreeParserCtxt(ctxt);
|
xmlFreeParserCtxt(ctxt);
|
||||||
xmlFreeDoc(doc);
|
xmlFreeDoc(doc);
|
||||||
xmlCleanupParser();
|
|
||||||
throw XMLException("Failed to validate document " + _filename);
|
throw XMLException("Failed to validate document " + _filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -107,7 +106,6 @@ XMLTree::read_internal(bool validate)
|
||||||
xmlFreeParserCtxt(ctxt);
|
xmlFreeParserCtxt(ctxt);
|
||||||
}
|
}
|
||||||
xmlFreeDoc(doc);
|
xmlFreeDoc(doc);
|
||||||
xmlCleanupParser();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue