diff plugins/history.c @ 7533:66d6f5c4a14a

[gaim-migrate @ 8146] This should fix a pair of leaks. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 17 Nov 2003 02:36:17 +0000
parents 8c0527c91a92
children f771759739c1
line wrap: on
line diff
--- a/plugins/history.c	Sun Nov 16 19:59:49 2003 +0000
+++ b/plugins/history.c	Mon Nov 17 02:36:17 2003 +0000
@@ -41,6 +41,12 @@
 	gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0,
 			TRUE, 0, 0);
 	g_free(history);
+	for (;logs;logs = logs->next) {
+		GaimLog *log = logs->data;
+		g_free(log->name);
+		g_free(log);
+	}
+	
 }
 
 static gboolean