diff options
author | Carl Hetherington <carl@carlh.net> | 2010-03-25 01:24:59 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-03-25 01:24:59 +0000 |
commit | 896aa29dcf4dbc554e089f6cdf951b26e860c0e8 (patch) | |
tree | cd8824cfc87f51ba3b68baf911153256ee5d034d /libs/pbd/xml++.cc | |
parent | 2726184f42652a84816096887948658177ea24f8 (diff) |
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
Diffstat (limited to 'libs/pbd/xml++.cc')
-rw-r--r-- | libs/pbd/xml++.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/pbd/xml++.cc b/libs/pbd/xml++.cc index 90d7c3cf48..91d169d8bf 100644 --- a/libs/pbd/xml++.cc +++ b/libs/pbd/xml++.cc @@ -95,7 +95,6 @@ XMLTree::read_internal(bool validate) if (validate && ctxt->valid == 0) { xmlFreeParserCtxt(ctxt); xmlFreeDoc(doc); - xmlCleanupParser(); throw XMLException("Failed to validate document " + _filename); } } @@ -107,7 +106,6 @@ XMLTree::read_internal(bool validate) xmlFreeParserCtxt(ctxt); } xmlFreeDoc(doc); - xmlCleanupParser(); return true; } |