changeset 29267:95adf9fe2fe2

xmlCleanupParser() should not be called like it was being http://0pointer.de/blog/projects/beware-of-xmlCleanupParser.html http://git.gnome.org/browse/libxml2/tree/parser.c#n14002 I just removed calls to it, as I suspect it probably shouldn't be called from a library like libgnt anyway.
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 13 Jan 2010 14:00:29 +0000
parents 8b0cd7a5eed6
children 86542be84c4f 8c9a5ade3e78
files finch/libgnt/gntutils.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntutils.c	Wed Jan 13 12:49:14 2010 +0000
+++ b/finch/libgnt/gntutils.c	Wed Jan 13 14:00:29 2010 +0000
@@ -373,7 +373,6 @@
 
 	xmlFreeDoc(doc);
 	xmlFreeParserCtxt(ctxt);
-	xmlCleanupParser();
 	va_end(list);
 	g_free(data);
 #endif
@@ -470,7 +469,6 @@
 		ret = TRUE;
 	}
 	xmlFreeParserCtxt(ctxt);
-	xmlCleanupParser();
 	return ret;
 #endif
 }