aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-16 22:38:37 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-17 16:25:53 +0800
commit40aba36f8560ebbeae32c29f472576f80adec1e9 (patch)
treec6baa7c1f0f4415e4a3e8011e53f0a25d29af2cd
parent4da0bbd6898436255b87ffb63fdcf775f56e5a2c (diff)
downloadgsoc2013-empathy-40aba36f8560ebbeae32c29f472576f80adec1e9.tar
gsoc2013-empathy-40aba36f8560ebbeae32c29f472576f80adec1e9.tar.gz
gsoc2013-empathy-40aba36f8560ebbeae32c29f472576f80adec1e9.tar.bz2
gsoc2013-empathy-40aba36f8560ebbeae32c29f472576f80adec1e9.tar.lz
gsoc2013-empathy-40aba36f8560ebbeae32c29f472576f80adec1e9.tar.xz
gsoc2013-empathy-40aba36f8560ebbeae32c29f472576f80adec1e9.tar.zst
gsoc2013-empathy-40aba36f8560ebbeae32c29f472576f80adec1e9.zip
don't free content of the list returned by empathy_connection_aggregator_get_all_groups()
https://bugzilla.gnome.org/show_bug.cgi?id=667037
-rw-r--r--libempathy-gtk/empathy-groups-widget.c2
-rw-r--r--libempathy/empathy-connection-aggregator.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-groups-widget.c b/libempathy-gtk/empathy-groups-widget.c
index efb58fa99..5d87ef4f4 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 22d5ab8b2..fde365c27 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)
{