Merge pull request #3130 from RyanDwyer/fix-mode-double-free

Fix double free of mode
This commit is contained in:
Drew DeVault 2018-11-15 09:35:51 -05:00 committed by GitHub
commit c36665bc17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,8 +123,6 @@ void free_config(struct sway_config *config) {
} }
list_free(config->criteria); list_free(config->criteria);
} }
free_mode(config->current_mode);
free_bar_config(config->current_bar);
list_free(config->no_focus); list_free(config->no_focus);
list_free(config->active_bar_modifiers); list_free(config->active_bar_modifiers);
list_free(config->config_chain); list_free(config->config_chain);