[empathy/gnome-2-26] Fix memleak in tp_contact_list_group_member_removed_cb. Free group name when
- From: Lars-Peter Clausen <larsc src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy/gnome-2-26] Fix memleak in tp_contact_list_group_member_removed_cb. Free group name when
- Date: Tue, 21 Apr 2009 06:31:27 -0400 (EDT)
commit e802d199ea773be5f4858f313497b3484ed9d7fb
Author: Lars-Peter Clausen <lars metafoo de>
Date: Sun Apr 19 18:01:10 2009 +0200
Fix memleak in tp_contact_list_group_member_removed_cb. Free group name when
it is removed from the group list.
---
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 ef11587..d4b99e4 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]