changeset 30314:cb9afb16cc3d

Fix MSN FT for UIs that use our abstract FT stuff in ways that are slightly different from Pidgin. Fixes #11595. committer: Elliott Sales de Andrade <qulogic@pidgin.im>
author hanzz@soc.pidgin.im
date Tue, 11 May 2010 01:21:49 +0000
parents ec89b1d8571a
children 51b8ca70570d 71fe96932a8e
files libpurple/protocols/msn/slp.c libpurple/protocols/msn/slplink.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Mon May 10 23:14:05 2010 +0000
+++ b/libpurple/protocols/msn/slp.c	Tue May 11 01:21:49 2010 +0000
@@ -154,6 +154,7 @@
 	slpcall->u.outgoing.len = len;
 	slpcall->u.outgoing.data = data;
 	msn_slplink_send_msgpart(slpcall->slplink, slpcall->xfer_msg);
+	msn_message_unref(slpcall->xfer_msg->msg);
 	return MIN(1202, len);
 }
 
--- a/libpurple/protocols/msn/slplink.c	Mon May 10 23:14:05 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Tue May 11 01:21:49 2010 +0000
@@ -344,6 +344,7 @@
 		if (slpmsg->slpcall->xfer && purple_xfer_get_status(slpmsg->slpcall->xfer) == PURPLE_XFER_STATUS_STARTED)
 		{
 			slpmsg->slpcall->xfer_msg = slpmsg;
+			msn_message_ref(msg);
 			purple_xfer_prpl_ready(slpmsg->slpcall->xfer);
 		}
 		else