comparison 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
comparison
equal deleted inserted replaced
7532:a7a28e3f0147 7533:66d6f5c4a14a
39 gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->imhtml)->text_buffer, 39 gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->imhtml)->text_buffer,
40 &end); 40 &end);
41 gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0, 41 gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0,
42 TRUE, 0, 0); 42 TRUE, 0, 0);
43 g_free(history); 43 g_free(history);
44 for (;logs;logs = logs->next) {
45 GaimLog *log = logs->data;
46 g_free(log->name);
47 g_free(log);
48 }
49
44 } 50 }
45 51
46 static gboolean 52 static gboolean
47 plugin_load(GaimPlugin *plugin) 53 plugin_load(GaimPlugin *plugin)
48 { 54 {