diff --git a/keybinding.c b/keybinding.c index 054f638..ce80ba5 100644 --- a/keybinding.c +++ b/keybinding.c @@ -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);