diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-11-15 23:48:11 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-11-15 23:48:11 +1000 |
commit | 4e8bf5b328d8225f8f41a8b9d5229bd5f3775270 (patch) | |
tree | a542661f0751154849f580aa22185725d5385542 /sway | |
parent | 0451acfb751fe2b90a9d895df50294cce4bdf9ad (diff) | |
download | sway-4e8bf5b328d8225f8f41a8b9d5229bd5f3775270.tar.xz |
Fix double free of mode
config->current_mode is a pointer into the config->modes list, and each
mode has already been freed.
Same with bars.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/config.c b/sway/config.c index e9b55061..c1320acf 100644 --- a/sway/config.c +++ b/sway/config.c @@ -123,8 +123,6 @@ void free_config(struct sway_config *config) { } list_free(config->criteria); } - free_mode(config->current_mode); - free_bar_config(config->current_bar); list_free(config->no_focus); list_free(config->active_bar_modifiers); list_free(config->config_chain); |