From 2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 13 Jan 2010 10:28:29 +0000 Subject: Call xmlCleanupParser() only once when exiting (#600693) This function should only be called when exiting the application as it cleans up the memory allocated by the library itself. Thanks to Lennart for pointing this out. --- libempathy-gtk/empathy-plist.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-plist.c b/libempathy-gtk/empathy-plist.c index 4cc392bec..73d31466a 100644 --- a/libempathy-gtk/empathy-plist.c +++ b/libempathy-gtk/empathy-plist.c @@ -294,7 +294,6 @@ empathy_plist_parse_from_file (const char *filename) parsed_doc = empathy_plist_parse (root_element); xmlFreeDoc (doc); - xmlCleanupParser (); return parsed_doc; } @@ -329,7 +328,6 @@ empathy_plist_parse_from_memory (const char *data, gsize len) parsed_doc = empathy_plist_parse (root_element); xmlFreeDoc (doc); - xmlCleanupParser (); return parsed_doc; } -- cgit v1.2.3