aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-tube-handler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-tube-handler.c b/libempathy/empathy-tube-handler.c
index ec12d18ba..cbd004d14 100644
--- a/libempathy/empathy-tube-handler.c
+++ b/libempathy/empathy-tube-handler.c
@@ -96,6 +96,8 @@ connection_ready_cb (TpConnection *connection,
if (error != NULL)
{
DEBUG ("connection has been invalidated: %s", error->message);
+ tube_ready_destroy_notify (data);
+ g_object_unref (connection);
return;
}