Fix memeory leak

This commit is contained in:
project-repo 2020-07-31 12:07:26 +02:00
commit fd99f55dba

View file

@ -833,6 +833,7 @@ keybinding_configure_output(struct cg_server *server,
if(strcmp(cfg->output_name, it->output_name) == 0) {
wl_list_remove(&it->link);
free(it->output_name);
free(it);
}
}
wl_list_insert(&server->output_config, &cfg->link);