summaryrefslogtreecommitdiffstats
path: root/src/m_loop.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/m_loop.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/m_loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index e174f30..c25188e 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -36,6 +36,7 @@ uint8_t
char *line;
int8_t gnl;
+ msh->fd = fd;
gnl = 1;
while (gnl > 0)
{