diff options
author | Tomas Bzatek <[email protected]> | 2020-07-20 13:16:27 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2020-07-29 20:47:20 +0000 |
commit | aae875dc681a14d57f3dd0382d9e461031e17420 (patch) | |
tree | c4f2ad6444bd91429cac302b549a9aabb210056c | |
parent | 39705f6ecb0b33eaeb520d08e90e0b9764b52dd1 (diff) | |
download | mate-panel-aae875dc681a14d57f3dd0382d9e461031e17420.tar.bz2 mate-panel-aae875dc681a14d57f3dd0382d9e461031e17420.tar.xz |
panel-lockdown: Fix leaking string array
Overwriting an already allocated memory.
-rw-r--r-- | mate-panel/panel-lockdown.c | 1 |
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); } |