aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-call.c
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-02-26 21:31:19 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-02-26 21:31:19 +0800
commitb0314534d1f403f0c7f8ad7d878bca9fb3497818 (patch)
treea0f51683608ca23cc346099b1a47c68542cf5438 /libempathy/empathy-tp-call.c
parente2dfe56575f0c945d84d9c81aced7ade9cd514ee (diff)
downloadgsoc2013-empathy-b0314534d1f403f0c7f8ad7d878bca9fb3497818.tar
gsoc2013-empathy-b0314534d1f403f0c7f8ad7d878bca9fb3497818.tar.gz
gsoc2013-empathy-b0314534d1f403f0c7f8ad7d878bca9fb3497818.tar.bz2
gsoc2013-empathy-b0314534d1f403f0c7f8ad7d878bca9fb3497818.tar.lz
gsoc2013-empathy-b0314534d1f403f0c7f8ad7d878bca9fb3497818.tar.xz
gsoc2013-empathy-b0314534d1f403f0c7f8ad7d878bca9fb3497818.tar.zst
gsoc2013-empathy-b0314534d1f403f0c7f8ad7d878bca9fb3497818.zip
unref stream-engine proxy when TpCall is finalized
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@667 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy/empathy-tp-call.c')
-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);
}