From 62ba1a881425767bcfec26aabbd09f97ed1df0b4 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 2 Apr 2008 09:41:30 +0000 Subject: Fix leaks in finalize svn path=/trunk/; revision=832 --- libempathy/empathy-tp-chat.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libempathy/empathy-tp-chat.c') 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); -- cgit v1.2.3