comparison libpurple/protocols/msn/slplink.c @ 30124: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 3f7f469ee1d0
children a83167dd305c
comparison
equal deleted inserted replaced
30123:f7e1d5d397b6 30124:bc9f74e9f596
213 slplink->swboard = NULL; 213 slplink->swboard = NULL;
214 } 214 }
215 215
216 /* The slplink has no slpcalls in it, release it from the DC. */ 216 /* The slplink has no slpcalls in it, release it from the DC. */
217 if (slplink->slp_calls == NULL && slplink->dc != NULL) { 217 if (slplink->slp_calls == NULL && slplink->dc != NULL) {
218 slplink->dc->slplink = NULL;
218 msn_dc_destroy(slplink->dc); 219 msn_dc_destroy(slplink->dc);
219 slplink->dc = NULL; 220 slplink->dc = NULL;
220 } 221 }
221 } 222 }
222 223