Add some missing frees.

This commit is contained in:
Connor E 2018-11-13 13:45:01 +00:00
parent ee6b0ce24a
commit b5d95f264d
4 changed files with 7 additions and 3 deletions

View file

@ -83,6 +83,7 @@ void free_config(struct swaybar_config *config) {
free(config->mode);
free(config->hidden_state);
free(config->sep_symbol);
free(config->modifier);
for (int i = 0; i < config->bindings->length; i++) {
struct swaybar_binding *binding = config->bindings->items[i];
free_binding(binding);