mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-03 07:15:29 -04:00
config: key binding: free pipe cmd/argv when action is invalid
This commit is contained in:
parent
eb45cb7b60
commit
04e8588e05
1 changed files with 2 additions and 0 deletions
2
config.c
2
config.c
|
|
@ -1107,6 +1107,8 @@ parse_section_key_bindings(
|
||||||
|
|
||||||
LOG_AND_NOTIFY_ERR("%s:%u: [key-bindings]: %s: invalid action",
|
LOG_AND_NOTIFY_ERR("%s:%u: [key-bindings]: %s: invalid action",
|
||||||
path, lineno, key);
|
path, lineno, key);
|
||||||
|
free(pipe_cmd);
|
||||||
|
free(pipe_argv);
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue