summaryrefslogtreecommitdiffstats
path: root/src/e_externs.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-27 15:33:35 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-27 15:33:35 +0200
commit3a09e7ae69c3eb1fc3d1f8dfa25f7376ca066e86 (patch)
treee550fb262473c3498c78c4e556f6c7e14d462a79 /src/e_externs.c
parentFuck this (diff)
download42-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 '')
-rw-r--r--src/e_externs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_externs.c b/src/e_externs.c
index 4cc63e1..253d758 100644
--- a/src/e_externs.c
+++ b/src/e_externs.c
@@ -36,7 +36,7 @@ static void
{
f_exec(fullpath);
ft_memdel((void*)&fullpath);
- u_eof_stdin();
+ u_eof_fd(msh->fd);
s_line_clear(&msh->curr);
s_destroy(msh);
exit(errno);