diff options
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r-- | cmd-run-shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c index 03cbc292..9b4c006a 100644 --- a/cmd-run-shell.c +++ b/cmd-run-shell.c @@ -112,6 +112,7 @@ cmd_run_shell_callback(struct job *job) do { if ((line = evbuffer_readline(job->event->input)) != NULL) { cmd_run_shell_print (job, line); + free(line); lines++; } } while (line != NULL); |