# HG changeset patch # User Stu Tomlinson # Date 1263391229 0 # Node ID 95adf9fe2fe23024da09f4fb37adb5614321e2ae # Parent 8b0cd7a5eed6ed67307f7d1e7e2b09abb6a3945e 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. diff -r 8b0cd7a5eed6 -r 95adf9fe2fe2 finch/libgnt/gntutils.c --- 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 }