From 643a301fe0bd44e5f64fff4ea5d90de477c8367a Mon Sep 17 00:00:00 2001 From: xclaesse Date: Wed, 2 Apr 2008 09:41:30 +0000 Subject: Fix leaks in finalize git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@832 4ee84921-47dd-4033-b63a-18d7a039a3e4 --- 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