aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tp-file.c')
-rw-r--r--libempathy/empathy-tp-file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index fb77a4e26..df5b7da2e 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -347,8 +347,7 @@ tp_file_finalize (GObject *object)
tp_file_destroy_cb, object);
tp_cli_channel_call_close (tp_file->priv->channel, -1, NULL, NULL,
NULL, NULL);
- if (G_IS_OBJECT (tp_file->priv->channel))
- g_object_unref (tp_file->priv->channel);
+ g_object_unref (tp_file->priv->channel);
}
if (tp_file->priv->factory)