diff options
author | RichardHitt <rbh00@netcom.com> | 2013-01-09 14:37:57 -0800 |
---|---|---|
committer | RichardHitt <rbh00@netcom.com> | 2013-01-09 14:37:57 -0800 |
commit | 6beef589e32d874e5d961e7e6f7b2a68c56538bd (patch) | |
tree | c27f129c1011d63570295117ea6cabd5e25e65f8 /src/common/outbound.c | |
parent | 285ddd0b60974bebbee6ea6168bf8d53262f6145 (diff) |
Make source cleah with cppcheck, except for mpc and sasl
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r-- | src/common/outbound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index a8a65d6a..f8f73dd6 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -1866,7 +1866,6 @@ cmd_exec (struct session *sess, char *tbuf, char *word[], char *word_eol[]) /* not reached unless error */ /*printf("exec error\n");*/ fflush (stdout); - fflush (stdin); _exit (0); } if (pid == -1) @@ -1876,6 +1875,7 @@ cmd_exec (struct session *sess, char *tbuf, char *word[], char *word_eol[]) PrintText (sess, "Error in fork(2)\n"); close(fds[0]); close(fds[1]); + free (s); } else { /* Parent path */ |