]> git.0d.be Git - empathy.git/commitdiff
don't free content of the list returned by empathy_connection_aggregator_get_all_groups()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 16 Jan 2012 14:38:37 +0000 (15:38 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 17 Jan 2012 08:25:53 +0000 (09:25 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=667037

libempathy-gtk/empathy-groups-widget.c
libempathy/empathy-connection-aggregator.c

index efb58fa99dc55d84c4b1bf8461e83d70a947be2f..5d87ef4f47ab1fca2bfeac26449575e0e0a77cdf 100644 (file)
@@ -182,8 +182,6 @@ populate_data (EmpathyGroupsWidget *self)
           COL_EDITABLE, TRUE,
           COL_ENABLED, enabled,
           -1);
           COL_EDITABLE, TRUE,
           COL_ENABLED, enabled,
           -1);
-
-      g_free (l->data);
     }
 
   g_list_free (all_groups);
     }
 
   g_list_free (all_groups);
index 22d5ab8b27802b57f6f227975d6f63022ff277b4..fde365c27eaa25995f494394b048a90542b435db 100644 (file)
@@ -231,6 +231,7 @@ empathy_connection_aggregator_dup_singleton (void)
   return aggregator;
 }
 
   return aggregator;
 }
 
+/* (transfer container) */
 GList *
 empathy_connection_aggregator_get_all_groups (EmpathyConnectionAggregator *self)
 {
 GList *
 empathy_connection_aggregator_get_all_groups (EmpathyConnectionAggregator *self)
 {