summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-lockdown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/panel-lockdown.c b/mate-panel/panel-lockdown.c
index 1c728511..d0051082 100644
--- a/mate-panel/panel-lockdown.c
+++ b/mate-panel/panel-lockdown.c
@@ -109,6 +109,7 @@ disabled_applets_notify (GSettings *settings,
gchar *key,
PanelLockdown *lockdown)
{
+ g_strfreev (lockdown->disabled_applets);
lockdown->disabled_applets = g_settings_get_strv (settings, key);
panel_lockdown_invoke_closures (lockdown);
}