From 81900e8ff106bbd9602f6589fc54e4530f5cc3dd Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 12 Sep 2020 15:57:51 +0200 Subject: Fix --- src/e_builtins.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/e_builtins.c') 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); -- cgit v1.2.3