aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:24:21 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:24:21 +0800
commit6e42fab437ff58c79ba54c1cf43133bd6e678d08 (patch)
tree911869037a5516e35479757e98c4abd84704325f /libempathy
parent31c797fa7d77b51e5fc19b260f2736424875d923 (diff)
downloadgsoc2013-empathy-6e42fab437ff58c79ba54c1cf43133bd6e678d08.tar
gsoc2013-empathy-6e42fab437ff58c79ba54c1cf43133bd6e678d08.tar.gz
gsoc2013-empathy-6e42fab437ff58c79ba54c1cf43133bd6e678d08.tar.bz2
gsoc2013-empathy-6e42fab437ff58c79ba54c1cf43133bd6e678d08.tar.lz
gsoc2013-empathy-6e42fab437ff58c79ba54c1cf43133bd6e678d08.tar.xz
gsoc2013-empathy-6e42fab437ff58c79ba54c1cf43133bd6e678d08.tar.zst
gsoc2013-empathy-6e42fab437ff58c79ba54c1cf43133bd6e678d08.zip
Add a FIXME about the tp_file being leaked
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1900 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 1ba3adf3c..4691ef6c1 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -957,6 +957,9 @@ file_channel_create_cb (TpConnection *connection,
request->handle,
NULL);
+ /* FIXME: tp_file is leaked, but we need to keep it alive until the data
+ * transfer is done. This is not the object that is going to be used
+ * for the ft manager. */
tp_file = empathy_tp_file_new (channel);
empathy_tp_file_offer (tp_file, request->gfile, NULL);