pidgin: bbf9031f: Free up the parsers.

sadrul at pidgin.im sadrul at pidgin.im
Thu Oct 8 00:02:50 EDT 2009


-----------------------------------------------------------------
Revision: bbf9031f3ffa50b75f718f53aa9939a7938785c6
Ancestor: 23c34d2f91f96690dc97b8baeea95f88b0271112
Author: sadrul at pidgin.im
Date: 2009-10-07T21:29:18
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bbf9031f3ffa50b75f718f53aa9939a7938785c6

Modified files:
        finch/libgnt/gntutils.c

ChangeLog: 

Free up the parsers.

-------------- next part --------------
============================================================
--- finch/libgnt/gntutils.c	9aa3d9626669ad50b34499585ddb12fcd3492e83
+++ finch/libgnt/gntutils.c	5d66e3f194d3432ca8d4e4814bfb243e2291ca53
@@ -374,6 +374,7 @@ void gnt_util_parse_widgets(const char *
 	gnt_widget_from_xmlnode(node, data, num);
 
 	xmlFreeDoc(doc);
+	xmlFreeParserCtxt(ctxt);
 	xmlCleanupParser();
 	va_end(list);
 	g_free(data);
@@ -470,6 +471,7 @@ gboolean gnt_util_parse_xhtml_to_textvie
 		xmlFreeDoc(doc);
 		ret = TRUE;
 	}
+	xmlFreeParserCtxt(ctxt);
 	xmlCleanupParser();
 	return ret;
 #endif


More information about the Commits mailing list