From c8ba75c31c949d3b5e5ba44e389550ea10096c5d Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 16 Sep 2020 21:09:14 +0200 Subject: Leak fix --- src/s_init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/s_init.c') 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; -- cgit v1.2.3