mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-21 13:04:18 +02:00
Fix memory leak
This commit is contained in:
parent
b42a9f77cf
commit
6a88b53473
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ keybinding_free(struct keybinding *keybinding, bool recursive) {
|
|||
if(keybinding->data.m_cfg->font != NULL) {
|
||||
free(keybinding->data.m_cfg->font);
|
||||
}
|
||||
free(keybinding->data.m_cfg);
|
||||
break;
|
||||
case KEYBINDING_DISPLAY_MESSAGE:
|
||||
if(keybinding->data.c != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue