aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:24:21 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:24:21 +0800
commita20b9bd20a53e5f5de6f50e34da62175571862cc (patch)
tree911869037a5516e35479757e98c4abd84704325f
parentff5f4865bfe8a51c3a515b8ba4a4c5a05f5e6aa2 (diff)
downloadgsoc2013-empathy-a20b9bd20a53e5f5de6f50e34da62175571862cc.tar
gsoc2013-empathy-a20b9bd20a53e5f5de6f50e34da62175571862cc.tar.gz
gsoc2013-empathy-a20b9bd20a53e5f5de6f50e34da62175571862cc.tar.bz2
gsoc2013-empathy-a20b9bd20a53e5f5de6f50e34da62175571862cc.tar.lz
gsoc2013-empathy-a20b9bd20a53e5f5de6f50e34da62175571862cc.tar.xz
gsoc2013-empathy-a20b9bd20a53e5f5de6f50e34da62175571862cc.tar.zst
gsoc2013-empathy-a20b9bd20a53e5f5de6f50e34da62175571862cc.zip
Add a FIXME about the tp_file being leaked
svn path=/trunk/; revision=1900
-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);