aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-26 21:31:19 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-26 21:31:19 +0800
commit404e0cd0f04718b49f001e3a0b3a028f8cab1253 (patch)
treea0f51683608ca23cc346099b1a47c68542cf5438 /libempathy
parente8b7909d80cb55f9b46a70efd1d633aedba2998f (diff)
downloadgsoc2013-empathy-404e0cd0f04718b49f001e3a0b3a028f8cab1253.tar
gsoc2013-empathy-404e0cd0f04718b49f001e3a0b3a028f8cab1253.tar.gz
gsoc2013-empathy-404e0cd0f04718b49f001e3a0b3a028f8cab1253.tar.bz2
gsoc2013-empathy-404e0cd0f04718b49f001e3a0b3a028f8cab1253.tar.lz
gsoc2013-empathy-404e0cd0f04718b49f001e3a0b3a028f8cab1253.tar.xz
gsoc2013-empathy-404e0cd0f04718b49f001e3a0b3a028f8cab1253.tar.zst
gsoc2013-empathy-404e0cd0f04718b49f001e3a0b3a028f8cab1253.zip
unref stream-engine proxy when TpCall is finalized
svn path=/trunk/; revision=667
Diffstat (limited to 'libempathy')
-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);
}