From fd99f55dbaaf01338ff93d4c01cadb7e918dcf64 Mon Sep 17 00:00:00 2001 From: project-repo Date: Fri, 31 Jul 2020 12:07:26 +0200 Subject: [PATCH] Fix memeory leak --- keybinding.c | 1 + 1 file changed, 1 insertion(+) 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);