aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/reload.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/reload.c')
-rw-r--r--sway/commands/reload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/reload.c b/sway/commands/reload.c
index c236911e..3ccbbf34 100644
--- a/sway/commands/reload.c
+++ b/sway/commands/reload.c
@@ -24,7 +24,7 @@ static void do_reload(void *data) {
if (!load_main_config(config->current_config_path, true, false)) {
wlr_log(WLR_ERROR, "Error(s) reloading config");
- free_flat_list(bar_ids);
+ list_free_items_and_destroy(bar_ids);
return;
}
@@ -41,7 +41,7 @@ static void do_reload(void *data) {
}
}
}
- free_flat_list(bar_ids);
+ list_free_items_and_destroy(bar_ids);
config_update_font_height(true);
root_for_each_container(rebuild_textures_iterator, NULL);