summaryrefslogtreecommitdiffstats
path: root/src/e_builtins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/e_builtins.c')
-rw-r--r--src/e_builtins.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c
index 7c86a5f..90e436e 100644
--- a/src/e_builtins.c
+++ b/src/e_builtins.c
@@ -53,6 +53,7 @@ static void
dup_redirs(ptr, msh);
ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh);
u_eof_fd(msh->fd);
+ s_com_destroy(&msh->com);
s_line_clear(&msh->curr);
s_destroy(msh);
exit(ret);