changeset 5292:436c83d60be0

[gaim-migrate @ 5664] fix a hard-to-get-to crash committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 03 May 2003 22:21:40 +0000
parents a6f37a893b49
children ead927e2543f
files src/blist.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Sat May 03 20:58:46 2003 +0000
+++ b/src/blist.c	Sat May 03 22:21:40 2003 +0000
@@ -572,6 +572,9 @@
 		g_free(key);
 	}
 
+	if(buddy->timer > 0)
+		g_source_remove(buddy->timer);
+
 	ops->remove(gaimbuddylist, node);
 	g_hash_table_destroy(buddy->settings);
 	g_free(buddy->name);