aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-04-20 00:01:10 +0800
committerLars-Peter Clausen <lars@metafoo.de>2009-04-21 16:42:14 +0800
commite0c48133ec3c73cf31ee2d3f3afda7282c617c49 (patch)
treed8f60434a2ae5174cca0b6a45b31daf2fb42f7db /libempathy
parent657019a4f3afcf3fbc5f543a414ab9936a80b716 (diff)
downloadgsoc2013-empathy-e0c48133ec3c73cf31ee2d3f3afda7282c617c49.tar
gsoc2013-empathy-e0c48133ec3c73cf31ee2d3f3afda7282c617c49.tar.gz
gsoc2013-empathy-e0c48133ec3c73cf31ee2d3f3afda7282c617c49.tar.bz2
gsoc2013-empathy-e0c48133ec3c73cf31ee2d3f3afda7282c617c49.tar.lz
gsoc2013-empathy-e0c48133ec3c73cf31ee2d3f3afda7282c617c49.tar.xz
gsoc2013-empathy-e0c48133ec3c73cf31ee2d3f3afda7282c617c49.tar.zst
gsoc2013-empathy-e0c48133ec3c73cf31ee2d3f3afda7282c617c49.zip
Fix memleak in tp_contact_list_group_member_removed_cb. Free group name when
it is removed from the group list.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index ef11587ad..d4b99e4c4 100644
--- a/libempathy/empathy-tp-contact-list.c
+++ b/libempathy/empathy-tp-contact-list.c
@@ -154,6 +154,7 @@ tp_contact_list_group_member_removed_cb (EmpathyTpGroup *group,
empathy_contact_get_id (contact),
empathy_contact_get_handle (contact),
group_name);
+ g_free (l->data);
*groups = g_list_delete_link (*groups, l);
g_signal_emit_by_name (list, "groups-changed", contact,
group_name,