aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-04-02 17:41:30 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-04-02 17:41:30 +0800
commit643a301fe0bd44e5f64fff4ea5d90de477c8367a (patch)
tree0d386638dc1bf843290ecf01cdc7eb602052b1bd /libempathy
parent27130e16bf4d18bc291d07f1408d05e63576c750 (diff)
downloadgsoc2013-empathy-643a301fe0bd44e5f64fff4ea5d90de477c8367a.tar
gsoc2013-empathy-643a301fe0bd44e5f64fff4ea5d90de477c8367a.tar.gz
gsoc2013-empathy-643a301fe0bd44e5f64fff4ea5d90de477c8367a.tar.bz2
gsoc2013-empathy-643a301fe0bd44e5f64fff4ea5d90de477c8367a.tar.lz
gsoc2013-empathy-643a301fe0bd44e5f64fff4ea5d90de477c8367a.tar.xz
gsoc2013-empathy-643a301fe0bd44e5f64fff4ea5d90de477c8367a.tar.zst
gsoc2013-empathy-643a301fe0bd44e5f64fff4ea5d90de477c8367a.zip
Fix leaks in finalize
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@832 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-chat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 431c38290..0cbd5eea3 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -758,6 +758,13 @@ tp_chat_finalize (GObject *object)
g_ptr_array_free (priv->properties, TRUE);
}
+ if (priv->initiator) {
+ g_object_unref (priv->initiator);
+ }
+ if (priv->group) {
+ g_object_unref (priv->group);
+ }
+
g_object_unref (priv->factory);
g_object_unref (priv->user);
g_object_unref (priv->account);