diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-27 15:33:35 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-27 15:33:35 +0200 |
commit | 3a09e7ae69c3eb1fc3d1f8dfa25f7376ca066e86 (patch) | |
tree | e550fb262473c3498c78c4e556f6c7e14d462a79 /src/e_builtins.c | |
parent | Fuck this (diff) | |
download | 42-minishell-3a09e7ae69c3eb1fc3d1f8dfa25f7376ca066e86.tar.gz 42-minishell-3a09e7ae69c3eb1fc3d1f8dfa25f7376ca066e86.tar.bz2 42-minishell-3a09e7ae69c3eb1fc3d1f8dfa25f7376ca066e86.tar.xz 42-minishell-3a09e7ae69c3eb1fc3d1f8dfa25f7376ca066e86.tar.zst 42-minishell-3a09e7ae69c3eb1fc3d1f8dfa25f7376ca066e86.zip |
Freed leaks
Diffstat (limited to 'src/e_builtins.c')
-rw-r--r-- | src/e_builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c index b94c328..666cf11 100644 --- a/src/e_builtins.c +++ b/src/e_builtins.c @@ -49,7 +49,7 @@ static void e_export_env_fork(ptr, msh); dup_redirs(ptr, msh); ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh); - u_eof_stdin(); + u_eof_fd(msh->fd); s_line_clear(&msh->curr); s_destroy(msh); exit(ret); |