Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/slpcall.c @ 23719:7b2fdeb078cd
take an extra reference to PurpleXfer so we can check whether the whole
thing went away. I haven't tested this because it's late, but it shouldn't
break things or at least shouldn't make things worse.
It would be great if someone can test this and let me know.
References #6246
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Thu, 07 Aug 2008 07:07:32 +0000 |
parents | 96e78c0fa32b |
children | e8f75e750260 |
comparison
equal
deleted
inserted
replaced
23718:4de9cd2a4af2 | 23719:7b2fdeb078cd |
---|---|
95 msn_slplink_remove_slpcall(slpcall->slplink, slpcall); | 95 msn_slplink_remove_slpcall(slpcall->slplink, slpcall); |
96 | 96 |
97 if (slpcall->end_cb != NULL) | 97 if (slpcall->end_cb != NULL) |
98 slpcall->end_cb(slpcall, session); | 98 slpcall->end_cb(slpcall, session); |
99 | 99 |
100 if (slpcall->xfer != NULL) | 100 if (slpcall->xfer != NULL) { |
101 slpcall->xfer->data = NULL; | |
101 purple_xfer_unref(slpcall->xfer); | 102 purple_xfer_unref(slpcall->xfer); |
103 } | |
102 | 104 |
103 g_free(slpcall); | 105 g_free(slpcall); |
104 } | 106 } |
105 | 107 |
106 void | 108 void |