diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-02 17:41:30 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-02 17:41:30 +0800 |
commit | 62ba1a881425767bcfec26aabbd09f97ed1df0b4 (patch) | |
tree | 0d386638dc1bf843290ecf01cdc7eb602052b1bd /libempathy | |
parent | d15f0384604929b33e62f3cf0d1d92f343db0eb2 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'libempathy')
-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); |