aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-08 17:09:36 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-08 17:09:36 +0000
commit04e8588e05e7b90f9a83a5a317ded0f3621777a8 (patch)
tree43c5591fcea24caf75a65e13c671206095c8401d
parentwayland: set BIND_ACTION_KEY_COUNT correctly (diff)
config: key binding: free pipe cmd/argv when action is invalid
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index f15be1c2..7b71df95 100644
--- a/config.c
+++ b/config.c
@@ -1107,6 +1107,8 @@ parse_section_key_bindings(
LOG_AND_NOTIFY_ERR("%s:%u: [key-bindings]: %s: invalid action",
path, lineno, key);
+ free(pipe_cmd);
+ free(pipe_argv);
return false;
}