diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-04-20 00:01:10 +0800 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-04-21 16:42:14 +0800 |
commit | e0c48133ec3c73cf31ee2d3f3afda7282c617c49 (patch) | |
tree | d8f60434a2ae5174cca0b6a45b31daf2fb42f7db | |
parent | 657019a4f3afcf3fbc5f543a414ab9936a80b716 (diff) | |
download | gsoc2013-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.
-rw-r--r-- | libempathy/empathy-tp-contact-list.c | 1 |
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, |