From: Guillaume Desmottes Date: Mon, 16 Jan 2012 14:38:37 +0000 (+0100) Subject: don't free content of the list returned by empathy_connection_aggregator_get_all_groups() X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=40aba36f8560ebbeae32c29f472576f80adec1e9 don't free content of the list returned by empathy_connection_aggregator_get_all_groups() https://bugzilla.gnome.org/show_bug.cgi?id=667037 --- diff --git a/libempathy-gtk/empathy-groups-widget.c b/libempathy-gtk/empathy-groups-widget.c index efb58fa9..5d87ef4f 100644 --- a/libempathy-gtk/empathy-groups-widget.c +++ b/libempathy-gtk/empathy-groups-widget.c @@ -182,8 +182,6 @@ populate_data (EmpathyGroupsWidget *self) COL_EDITABLE, TRUE, COL_ENABLED, enabled, -1); - - g_free (l->data); } g_list_free (all_groups); diff --git a/libempathy/empathy-connection-aggregator.c b/libempathy/empathy-connection-aggregator.c index 22d5ab8b..fde365c2 100644 --- a/libempathy/empathy-connection-aggregator.c +++ b/libempathy/empathy-connection-aggregator.c @@ -231,6 +231,7 @@ empathy_connection_aggregator_dup_singleton (void) return aggregator; } +/* (transfer container) */ GList * empathy_connection_aggregator_get_all_groups (EmpathyConnectionAggregator *self) {