mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
Fix potential memory leaks
This commit is contained in:
parent
4776ba4e5f
commit
615552b843
1 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ keybinding_free(struct keybinding *keybinding, bool recursive) {
|
|||
keybinding_free(keybinding->data.kb, true);
|
||||
}
|
||||
break;
|
||||
case KEYBINDING_CONFIGURE_OUTPUT:
|
||||
free(keybinding->data.o_cfg->output_name);
|
||||
free(keybinding->data.o_cfg);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue