summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c
index 1d8cd349..328ffab7 100644
--- a/mate-panel/panel-profile.c
+++ b/mate-panel/panel-profile.c
@@ -1507,7 +1507,7 @@ panel_profile_toplevel_id_list_notify (GSettings *settings,
g_idle_add (load_default_layout_idle, NULL);
g_slist_free (existing_toplevels);
- g_slist_free (toplevel_ids);
+ g_slist_free_full (toplevel_ids, g_free);
}
static void
@@ -1542,7 +1542,7 @@ panel_profile_object_id_list_update (gchar **objects)
(PanelProfileDestroyFunc) panel_profile_destroy_object);
g_slist_free (sublist);
- g_slist_free (object_ids);
+ g_slist_free_full (object_ids, g_free);
mate_panel_applet_load_queued_applets (FALSE);
}