aboutsummaryrefslogtreecommitdiff
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2013-02-25 18:25:37 +0000
committerThomas Adam <thomas@xteddy.org>2013-02-25 18:25:37 +0000
commita2f52d422418af489e8eeb386d989b848a09891b (patch)
tree26f4424227ccae92ee622ce0fbe865a3c8883571 /cmd-run-shell.c
parent2ccb67cae4eafa0f86d95317186719d1bfd09d57 (diff)
downloadrtmux-a2f52d422418af489e8eeb386d989b848a09891b.tar.gz
rtmux-a2f52d422418af489e8eeb386d989b848a09891b.tar.bz2
rtmux-a2f52d422418af489e8eeb386d989b848a09891b.zip
Remove previous
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r--cmd-run-shell.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c
index f805c7ae..aaa310b9 100644
--- a/cmd-run-shell.c
+++ b/cmd-run-shell.c
@@ -101,7 +101,6 @@ cmd_run_shell_exec(struct cmd *self, struct cmd_q *cmdq)
cmdq->references++;
job_run(shellcmd, cmd_run_shell_callback, cmd_run_shell_free, cdata);
- free(shellcmd);
if (cdata->bflag)
return (CMD_RETURN_NORMAL);