From 404e0cd0f04718b49f001e3a0b3a028f8cab1253 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 26 Feb 2008 13:31:19 +0000 Subject: [PATCH] unref stream-engine proxy when TpCall is finalized svn path=/trunk/; revision=667 --- libempathy/empathy-tp-call.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index c44ffe27..9a9ed0ba 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); } -- 2.39.2