From: Xavier Claessens Date: Fri, 21 Nov 2008 16:24:21 +0000 (+0000) Subject: Add a FIXME about the tp_file being leaked X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=a20b9bd20a53e5f5de6f50e34da62175571862cc Add a FIXME about the tp_file being leaked svn path=/trunk/; revision=1900 --- diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 1ba3adf3..4691ef6c 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);