list.c: rename free_flat_list to list_free_items_and_destroy

This commit is contained in:
Ian Fan 2018-12-09 01:15:23 +00:00
parent c8776fac42
commit 98c1e19466
12 changed files with 20 additions and 20 deletions

View file

@ -52,7 +52,7 @@ void free_bar_config(struct bar_config *bar) {
free_bar_binding(bar->bindings->items[i]);
}
list_free(bar->bindings);
free_flat_list(bar->outputs);
list_free_items_and_destroy(bar->outputs);
if (bar->pid != 0) {
terminate_swaybar(bar->pid);
}