diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-12 15:57:51 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-12 15:57:51 +0200 |
commit | 81900e8ff106bbd9602f6589fc54e4530f5cc3dd (patch) | |
tree | b71cb48ffdc971ebb1299215aa19c19e66a0e6ab /src/e_builtins.c | |
parent | Aliases work, fucker (diff) | |
download | 42-minishell-81900e8ff106bbd9602f6589fc54e4530f5cc3dd.tar.gz 42-minishell-81900e8ff106bbd9602f6589fc54e4530f5cc3dd.tar.bz2 42-minishell-81900e8ff106bbd9602f6589fc54e4530f5cc3dd.tar.xz 42-minishell-81900e8ff106bbd9602f6589fc54e4530f5cc3dd.tar.zst 42-minishell-81900e8ff106bbd9602f6589fc54e4530f5cc3dd.zip |
Fix
Diffstat (limited to 'src/e_builtins.c')
-rw-r--r-- | src/e_builtins.c | 1 |
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); |