From 04e8588e05e7b90f9a83a5a317ded0f3621777a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 8 Sep 2020 19:09:36 +0200 Subject: [PATCH] config: key binding: free pipe cmd/argv when action is invalid --- config.c | 2 ++ 1 file changed, 2 insertions(+) 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; }