cpw.malu.xmpp.jingle_ft: 615edc37: Unref transport, so that s5b is finalise...
malu at pidgin.im
malu at pidgin.im
Mon May 18 14:55:29 EDT 2009
-----------------------------------------------------------------
Revision: 615edc37a67e1681a879570346183ca08bd7db44
Ancestor: 7a4389c83566395a30cfc4ce86cdcf626005e66d
Author: malu at pidgin.im
Date: 2009-05-18T18:51:10
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/615edc37a67e1681a879570346183ca08bd7db44
Modified files:
libpurple/protocols/jabber/jingle/file-transfer.c
ChangeLog:
Unref transport, so that s5b is finalised properly
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/file-transfer.c f8c831b92a605494391284870180602428c32389
+++ libpurple/protocols/jabber/jingle/file-transfer.c 057716fad8340e78521ca297bf8516e78b766f31
@@ -375,6 +375,7 @@ jingle_file_transfer_s5b_connect_callbac
"in jingle_file_transfer_s5b_connect_callback\n");
purple_debug_info("jingle-ft", "xfer->data: %p\n", xfer->data);
purple_xfer_start(xfer, jingle_s5b_get_fd(s5b), NULL, 0);
+ g_object_unref(transport);
}
static void
@@ -770,11 +771,10 @@ jingle_file_transfer_handle_action_inter
jingle_file_transfer_s5b_connect_callback, content);
jingle_s5b_set_error_callback(JINGLE_S5B(transport),
jingle_file_transfer_s5b_error_callback, content);
- }
-
- g_object_unref(transport);
+ }
}
+ g_object_unref(transport);
g_object_unref(session);
g_free(who);
break;
@@ -827,6 +827,7 @@ jingle_file_transfer_handle_action_inter
}
}
+ g_object_unref(transport);
g_object_unref(session);
break;
}
@@ -867,6 +868,8 @@ jingle_file_transfer_handle_action_inter
jingle_s5b_handle_transport_accept(s5b, session, xmltransport);
}
+ g_object_unref(session);
+ g_object_unref(transport);
break;
}
case JINGLE_TRANSPORT_REPLACE: {
More information about the Commits
mailing list