4e6f421
From ebd3fb7271f87ec6e3665e81a58e023c2d20381b Mon Sep 17 00:00:00 2001
4e6f421
From: Bastien Nocera <hadess@hadess.net>
4e6f421
Date: Wed, 13 Jan 2010 15:24:30 +0000
4e6f421
Subject: [PATCH] Remove calls to xmlCleanupParser()
4e6f421
4e6f421
See http://0pointer.de/blog/projects/beware-of-xmlCleanupParser.html
4e6f421
and
4e6f421
http://lists.fedoraproject.org/pipermail/devel/2010-January/129117.html
4e6f421
---
4e6f421
 src/itdb_plist.c |    2 --
4e6f421
 1 files changed, 0 insertions(+), 2 deletions(-)
4e6f421
4e6f421
diff --git a/src/itdb_plist.c b/src/itdb_plist.c
4e6f421
index eeadf65..25530f3 100644
4e6f421
--- a/src/itdb_plist.c
4e6f421
+++ b/src/itdb_plist.c
4e6f421
@@ -410,7 +410,6 @@ itdb_plist_parse_from_file (const char *filename, GError **error)
4e6f421
     parsed_doc = itdb_plist_parse (root_element, error);
4e6f421
 
4e6f421
     xmlFreeDoc(doc);
4e6f421
-    xmlCleanupParser();
4e6f421
 
4e6f421
     return parsed_doc;
4e6f421
 }
4e6f421
@@ -449,7 +448,6 @@ itdb_plist_parse_from_memory (const char *data, gsize len, GError **error)
4e6f421
     parsed_doc = itdb_plist_parse (root_element, error);
4e6f421
 
4e6f421
     xmlFreeDoc(doc);
4e6f421
-    xmlCleanupParser();
4e6f421
 
4e6f421
     return parsed_doc;
4e6f421
 }
4e6f421
-- 
4e6f421
1.6.6.1
4e6f421