diff plugins/history.c @ 7685:9e122b8f564f

[gaim-migrate @ 8329] Let's see if this helps some of those memleaks... committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Mon, 01 Dec 2003 23:10:09 +0000
parents 25488bd0d461
children 7024b9145357
line wrap: on
line diff
--- a/plugins/history.c	Mon Dec 01 22:01:47 2003 +0000
+++ b/plugins/history.c	Mon Dec 01 23:10:09 2003 +0000
@@ -44,8 +44,7 @@
 	while (logs) {
 		GaimLog *log = logs->data;
 		GList *logs2;
-		g_free(log->name);
-		g_free(log);
+	    gaim_log_free(log);
 		logs2 = logs->next;
 		g_list_free_1(logs);
 		logs = logs2;