changeset 5186:a107115a13ae

[gaim-migrate @ 5550] don't infinite loop on unload committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 20 Apr 2003 20:56:14 +0000
parents dec87634bcb1
children 7c1c9bdc1f8e
files plugins/ticker/ticker.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ticker/ticker.c	Sun Apr 20 19:37:06 2003 +0000
+++ b/plugins/ticker/ticker.c	Sun Apr 20 20:56:14 2003 +0000
@@ -261,7 +261,7 @@
 G_MODULE_EXPORT void gaim_plugin_remove() {
 	while(tickerbuds) {
 		g_free(tickerbuds->data);
-		g_list_delete_link(tickerbuds, tickerbuds);
+		tickerbuds = g_list_delete_link(tickerbuds, tickerbuds);
 	}
 	gtk_widget_destroy(tickerwindow);
 }