aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-tp-call.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index c44ffe27e..9a9ed0bab 100644
--- a/libempathy/empathy-tp-call.c
+++ b/libempathy/empathy-tp-call.c
@@ -588,10 +588,11 @@ tp_call_finalize (GObject *object)
if (priv->channel != NULL)
g_object_unref (priv->channel);
+ if (priv->stream_engine != NULL)
+ g_object_unref (priv->stream_engine);
+
if (priv->contact)
- {
g_object_unref (priv->contact);
- }
(G_OBJECT_CLASS (empathy_tp_call_parent_class)->finalize) (object);
}