summaryrefslogtreecommitdiff
path: root/liblangtag/liblangtag-0.2-xmlCleanupParser.patch
blob: 3617125016c60d3c4b9772b945a9dc8beb39a769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- misc/liblangtag-0.2/liblangtag/lt-xml.c
+++ misc/build/liblangtag-0.2/liblangtag/lt-xml.c
@@ -101,8 +101,6 @@ lt_xml_read_subtag_registry(lt_xml_t  *x
 	if (xmlparser)
 		xmlFreeParserCtxt(xmlparser);
 
-	xmlCleanupParser();
-
 	if (err) {
 		if (error)
 			*error = g_error_copy(err);
@@ -158,8 +156,6 @@ lt_xml_read_cldr_bcp47(lt_xml_t     *xml
 	if (xmlparser)
 		xmlFreeParserCtxt(xmlparser);
 
-	xmlCleanupParser();
-
 	if (err) {
 		if (error)
 			*error = g_error_copy(err);