diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-04-02 17:41:30 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-04-02 17:41:30 +0800 |
commit | 643a301fe0bd44e5f64fff4ea5d90de477c8367a (patch) | |
tree | 0d386638dc1bf843290ecf01cdc7eb602052b1bd /libempathy/empathy-tp-chat.c | |
parent | 27130e16bf4d18bc291d07f1408d05e63576c750 (diff) | |
download | gsoc2013-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/empathy-tp-chat.c')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 7 |
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); |