]> git.0d.be Git - empathy.git/commitdiff
unref stream-engine proxy when TpCall is finalized
authorXavier Claessens <xclaesse@src.gnome.org>
Tue, 26 Feb 2008 13:31:19 +0000 (13:31 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 26 Feb 2008 13:31:19 +0000 (13:31 +0000)
svn path=/trunk/; revision=667

libempathy/empathy-tp-call.c

index c44ffe27eb19bb6ef94f20d8ad8ef9e7b1ae0432..9a9ed0babb6631b2c50e66b3e9ff8249af236d95 100644 (file)
@@ -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);
 }