diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/e_externs_pipes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/e_externs_pipes.c b/src/e_externs_pipes.c index 6c78029..e1518fa 100644 --- a/src/e_externs_pipes.c +++ b/src/e_externs_pipes.c @@ -55,6 +55,8 @@ static void { bu_id = get_builtin_id(ptr->bin, msh); ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh); + s_line_clear(&msh->curr); + s_destroy(msh); exit(ret); } else |