pidgin: ba8f17d6: And another one just like 94fa017925fa20...

qulogic at pidgin.im qulogic at pidgin.im
Sat May 29 18:20:41 EDT 2010


-----------------------------------------------------------------
Revision: ba8f17d65062b49bd721597c0993ae3a341365d9
Ancestor: efcc3c52b219fcb621302901bd34047fd384395a
Author: qulogic at pidgin.im
Date: 2010-05-29T22:19:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ba8f17d65062b49bd721597c0993ae3a341365d9

Modified files:
        libpurple/protocols/msn/slplink.c

ChangeLog: 

And another one just like 94fa017925fa206fc36f520ee42c54f57429b4e1. But
this time, the switchboard might not get destroyed immediately, so you'd
get it trying to destroy the slplink when it times out instead.

I think this fixes #12043.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c	f12e3621f9579b9a09eaf2c6d28fbc212831609a
+++ libpurple/protocols/msn/slplink.c	a5fe1987fa202665700e8e8c0585d2ff121e39d8
@@ -209,6 +209,7 @@ msn_slplink_remove_slpcall(MsnSlpLink *s
 	 * If nothing else is using it then this might cause swboard to be
 	 * destroyed. */
 	if (slplink->slp_calls == NULL && slplink->swboard != NULL) {
+		slplink->swboard->slplinks = g_list_remove(slplink->swboard->slplinks, slplink);
 		msn_switchboard_release(slplink->swboard, MSN_SB_FLAG_FT);
 		slplink->swboard = NULL;
 	}


More information about the Commits mailing list