aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-02 17:41:30 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-02 17:41:30 +0800
commit62ba1a881425767bcfec26aabbd09f97ed1df0b4 (patch)
tree0d386638dc1bf843290ecf01cdc7eb602052b1bd
parentd15f0384604929b33e62f3cf0d1d92f343db0eb2 (diff)
downloadgsoc2013-empathy-62ba1a881425767bcfec26aabbd09f97ed1df0b4.tar
gsoc2013-empathy-62ba1a881425767bcfec26aabbd09f97ed1df0b4.tar.gz
gsoc2013-empathy-62ba1a881425767bcfec26aabbd09f97ed1df0b4.tar.bz2
gsoc2013-empathy-62ba1a881425767bcfec26aabbd09f97ed1df0b4.tar.lz
gsoc2013-empathy-62ba1a881425767bcfec26aabbd09f97ed1df0b4.tar.xz
gsoc2013-empathy-62ba1a881425767bcfec26aabbd09f97ed1df0b4.tar.zst
gsoc2013-empathy-62ba1a881425767bcfec26aabbd09f97ed1df0b4.zip
Fix leaks in finalize
svn path=/trunk/; revision=832
-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);