mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-21 13:04:18 +02:00
Fix memeory leak
This commit is contained in:
parent
5cb26b8063
commit
fd99f55dba
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue