summaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 1ebd95ff..fcd60de7 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -22,6 +22,7 @@ void config_defaults(struct sway_config *config) {
22 config->modes = create_list(); 22 config->modes = create_list();
23 config->cmd_queue = create_list(); 23 config->cmd_queue = create_list();
24 config->workspace_outputs = create_list(); 24 config->workspace_outputs = create_list();
25 config->output_configs = create_list();
25 config->current_mode = malloc(sizeof(struct sway_mode)); 26 config->current_mode = malloc(sizeof(struct sway_mode));
26 config->current_mode->name = NULL; 27 config->current_mode->name = NULL;
27 config->current_mode->bindings = create_list(); 28 config->current_mode->bindings = create_list();
@@ -60,6 +61,7 @@ void free_config(struct sway_config *config) {
60 free(sym->value); 61 free(sym->value);
61 } 62 }
62 free_flat_list(config->symbols); 63 free_flat_list(config->symbols);
64 free_flat_list(config->output_configs);
63} 65}
64 66
65static const char *search_paths[] = { 67static const char *search_paths[] = {