changeset 13027:a0e53af77e49

[gaim-migrate @ 15380] Should fix some kind of icon thing, patch from evands with help from Bleeter, I think committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 24 Jan 2006 01:29:16 +0000
parents 880508a534cd
children a19529ed8acb
files src/protocols/msn/slpcall.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/slpcall.c	Tue Jan 24 01:26:36 2006 +0000
+++ b/src/protocols/msn/slpcall.c	Tue Jan 24 01:29:16 2006 +0000
@@ -112,11 +112,12 @@
 		}
 	}
 
-	msn_slplink_remove_slpcall(slpcall->slplink, slpcall);
-
+	/* Call the end_cb before removing the slpcall, as the end_cb may need the slplink */
 	if (slpcall->end_cb != NULL)
 		slpcall->end_cb(slpcall);
 
+	msn_slplink_remove_slpcall(slpcall->slplink, slpcall);
+
 	g_free(slpcall);
 }