aboutsummaryrefslogtreecommitdiff
path: root/cmd-parse.y
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-10-14 12:01:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-10-14 12:01:26 +0100
commiteb57cbcc296b10d8d9ea41930ab402717c800f9c (patch)
tree6f6ad7c4bfb1abcba860ee51e9bc77ffef1bfc5a /cmd-parse.y
parent7323ffeef22074911038444c0bfc675f56cd9726 (diff)
parentb598bbcc2e8b26855e4d34dfff9c222c28080cd7 (diff)
downloadrtmux-eb57cbcc296b10d8d9ea41930ab402717c800f9c.tar.gz
rtmux-eb57cbcc296b10d8d9ea41930ab402717c800f9c.tar.bz2
rtmux-eb57cbcc296b10d8d9ea41930ab402717c800f9c.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-parse.y')
-rw-r--r--cmd-parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-parse.y b/cmd-parse.y
index 0cd7c6bf..2c924010 100644
--- a/cmd-parse.y
+++ b/cmd-parse.y
@@ -696,6 +696,7 @@ cmd_parse_build_commands(struct cmd_parse_commands *cmds,
pr.status = CMD_PARSE_ERROR;
pr.error = cmd_parse_get_error(pi->file, line, cause);
free(cause);
+ cmd_list_free(cmdlist);
goto out;
}
cmd_list_append(cmdlist, add);