Blob Blame History Raw
From ebd3fb7271f87ec6e3665e81a58e023c2d20381b Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 13 Jan 2010 15:24:30 +0000
Subject: [PATCH] Remove calls to xmlCleanupParser()

See http://0pointer.de/blog/projects/beware-of-xmlCleanupParser.html
and
http://lists.fedoraproject.org/pipermail/devel/2010-January/129117.html
---
 src/itdb_plist.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/itdb_plist.c b/src/itdb_plist.c
index eeadf65..25530f3 100644
--- a/src/itdb_plist.c
+++ b/src/itdb_plist.c
@@ -410,7 +410,6 @@ itdb_plist_parse_from_file (const char *filename, GError **error)
     parsed_doc = itdb_plist_parse (root_element, error);
 
     xmlFreeDoc(doc);
-    xmlCleanupParser();
 
     return parsed_doc;
 }
@@ -449,7 +448,6 @@ itdb_plist_parse_from_memory (const char *data, gsize len, GError **error)
     parsed_doc = itdb_plist_parse (root_element, error);
 
     xmlFreeDoc(doc);
-    xmlCleanupParser();
 
     return parsed_doc;
 }
-- 
1.6.6.1