changeset 17136:0b7110b9e368

disapproval of revision 'a0488ed637a52fa346f3a78ed4e16fb8db3aeb59'
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 17 May 2007 14:30:48 +0000
parents acde78931954
children 8ed7b2d32ad1
files libpurple/protocols/msn/slp.c libpurple/protocols/msn/slpcall.c libpurple/protocols/msn/slplink.c
diffstat 3 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Thu May 17 14:29:17 2007 +0000
+++ b/libpurple/protocols/msn/slp.c	Thu May 17 14:30:48 2007 +0000
@@ -363,8 +363,6 @@
 			purple_xfer_set_cancel_recv_fnc(xfer, msn_xfer_cancel);
 
 			slpcall->xfer = xfer;
-			purple_xfer_ref(slpcall->xfer);
-
 			xfer->data = slpcall;
 
 			purple_xfer_request(xfer);
--- a/libpurple/protocols/msn/slpcall.c	Thu May 17 14:29:17 2007 +0000
+++ b/libpurple/protocols/msn/slpcall.c	Thu May 17 14:30:48 2007 +0000
@@ -120,9 +120,6 @@
 	if (slpcall->end_cb != NULL)
 		slpcall->end_cb(slpcall, session);
 
-	if (slpcall->xfer != NULL)
-		purple_xfer_unref(slpcall->xfer);
-
 	g_free(slpcall);
 }
 
--- a/libpurple/protocols/msn/slplink.c	Thu May 17 14:29:17 2007 +0000
+++ b/libpurple/protocols/msn/slplink.c	Thu May 17 14:30:48 2007 +0000
@@ -763,7 +763,6 @@
 	slpcall->progress_cb = msn_xfer_progress_cb;
 	slpcall->cb = msn_xfer_completed_cb;
 	slpcall->xfer = xfer;
-	purple_xfer_ref(slpcall->xfer);
 
 	slpcall->pending = TRUE;