aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-11-15 09:35:51 -0500
committerLibravatar GitHub <noreply@github.com>2018-11-15 09:35:51 -0500
commitc36665bc17d1950672330788040e07953d4fb638 (patch)
treea542661f0751154849f580aa22185725d5385542
parentMerge pull request #3128 from RyanDwyer/fix-unmap-crash (diff)
parentFix double free of mode (diff)
downloadsway-c36665bc17d1950672330788040e07953d4fb638.tar.gz
sway-c36665bc17d1950672330788040e07953d4fb638.tar.zst
sway-c36665bc17d1950672330788040e07953d4fb638.zip
Merge pull request #3130 from RyanDwyer/fix-mode-double-free
Fix double free of mode
-rw-r--r--sway/config.c2
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) {
123 } 123 }
124 list_free(config->criteria); 124 list_free(config->criteria);
125 } 125 }
126 free_mode(config->current_mode);
127 free_bar_config(config->current_bar);
128 list_free(config->no_focus); 126 list_free(config->no_focus);
129 list_free(config->active_bar_modifiers); 127 list_free(config->active_bar_modifiers);
130 list_free(config->config_chain); 128 list_free(config->config_chain);