diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-16 21:09:14 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-16 21:09:14 +0200 |
commit | c8ba75c31c949d3b5e5ba44e389550ea10096c5d (patch) | |
tree | 3fd61cd13f2ba9452c49cc9b48449c2458580454 /src/s_init.c | |
parent | Todo update (diff) | |
download | 42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.tar.gz 42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.tar.bz2 42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.tar.xz 42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.tar.zst 42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.zip |
Leak fix
Diffstat (limited to '')
-rw-r--r-- | src/s_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s_init.c b/src/s_init.c index 58f0cca..f8037b9 100644 --- a/src/s_init.c +++ b/src/s_init.c @@ -171,6 +171,7 @@ t_msh return (NULL); msh->ret = 0; init_buptr(msh); + msh->fd = 0; msh->curr = NULL; msh->com = NULL; msh->pipes = NULL; |