changeset 30548:bc9f74e9f596

And another one of those reverse links. We don't want dc to automatically destroy the slplink here because all we did was remove a slpcall from it.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 29 May 2010 00:01:03 +0000
parents f7e1d5d397b6
children c4cac45b0a74
files libpurple/protocols/msn/slplink.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Fri May 28 23:30:20 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Sat May 29 00:01:03 2010 +0000
@@ -215,6 +215,7 @@
 
 	/* The slplink has no slpcalls in it, release it from the DC. */
 	if (slplink->slp_calls == NULL && slplink->dc != NULL) {
+		slplink->dc->slplink = NULL;
 		msn_dc_destroy(slplink->dc);
 		slplink->dc = NULL;
 	}