Mercurial > pidgin
diff libpurple/protocols/msn/slpcall.c @ 23662: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 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpcall.c Thu Aug 07 06:16:57 2008 +0000 +++ b/libpurple/protocols/msn/slpcall.c Thu Aug 07 07:07:32 2008 +0000 @@ -97,8 +97,10 @@ if (slpcall->end_cb != NULL) slpcall->end_cb(slpcall, session); - if (slpcall->xfer != NULL) + if (slpcall->xfer != NULL) { + slpcall->xfer->data = NULL; purple_xfer_unref(slpcall->xfer); + } g_free(slpcall); }