aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-factory.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-27 18:48:02 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-27 18:48:02 +0800
commitac2baa625e8c0bcb57a8ceec4d34d046135b0171 (patch)
treecce9d42c4e556898f39f9cb5c810fbbc169ef2c1 /libempathy/empathy-contact-factory.c
parent37a9b435efdb27dad389763a12b9bad185b700d5 (diff)
downloadgsoc2013-empathy-ac2baa625e8c0bcb57a8ceec4d34d046135b0171.tar
gsoc2013-empathy-ac2baa625e8c0bcb57a8ceec4d34d046135b0171.tar.gz
gsoc2013-empathy-ac2baa625e8c0bcb57a8ceec4d34d046135b0171.tar.bz2
gsoc2013-empathy-ac2baa625e8c0bcb57a8ceec4d34d046135b0171.tar.lz
gsoc2013-empathy-ac2baa625e8c0bcb57a8ceec4d34d046135b0171.tar.xz
gsoc2013-empathy-ac2baa625e8c0bcb57a8ceec4d34d046135b0171.tar.zst
gsoc2013-empathy-ac2baa625e8c0bcb57a8ceec4d34d046135b0171.zip
Fix 2 leaks thanks to valgrind.
2007-09-27 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-utils.c: * libempathy/empathy-contact-factory.c: Fix 2 leaks thanks to valgrind. svn path=/trunk/; revision=325
Diffstat (limited to 'libempathy/empathy-contact-factory.c')
-rw-r--r--libempathy/empathy-contact-factory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-factory.c b/libempathy/empathy-contact-factory.c
index d6411ed54..e14914a1c 100644
--- a/libempathy/empathy-contact-factory.c
+++ b/libempathy/empathy-contact-factory.c
@@ -193,6 +193,7 @@ contact_factory_parse_presence_foreach (guint handle,
presence ? empathy_presence_get_state (presence) : MC_PRESENCE_UNSET);
empathy_contact_set_presence (contact, presence);
+ g_object_unref (presence);
}
static void