diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-11-21 14:24:33 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-11-21 14:24:33 +0000 |
commit | 78a00c845cc4d4e80f36f7cda71e0ca9ea13dcf4 (patch) | |
tree | 293ff608c1e12ad04b811b5410beb8bd50386c49 /cmd-if-shell.c | |
parent | 2c482939fdd92f1bd187cdcc661890dfa4e45512 (diff) | |
parent | 933929cd622478bb43afe590670613da2e9ff359 (diff) | |
download | rtmux-78a00c845cc4d4e80f36f7cda71e0ca9ea13dcf4.tar.gz rtmux-78a00c845cc4d4e80f36f7cda71e0ca9ea13dcf4.tar.bz2 rtmux-78a00c845cc4d4e80f36f7cda71e0ca9ea13dcf4.zip |
Merge branch 'obsd-master'
Conflicts:
tmux.h
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r-- | cmd-if-shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c index a9c84261..47f259e7 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -97,6 +97,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq) cmd = args->argv[1]; else if (args->argc == 3) cmd = args->argv[2]; + free(shellcmd); if (cmd == NULL) return (CMD_RETURN_NORMAL); if (cmd_string_parse(cmd, &cmdlist, NULL, 0, &cause) != 0) { |