From e42601eb5acc07417b217dfed4e9ab8cbb91794f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 25 Apr 2020 16:40:34 +0200 Subject: Stupid bash rule --- src/ft_e_externs_next.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_e_externs_next.c') diff --git a/src/ft_e_externs_next.c b/src/ft_e_externs_next.c index bf1bb38..ab5f150 100644 --- a/src/ft_e_externs_next.c +++ b/src/ft_e_externs_next.c @@ -33,7 +33,7 @@ static char { ft_lcom_clear(&msh->curr); ft_s_destroy(msh); - ft_fail_alloc(); + ft_fail_alloc(msh); } ft_memcpy(fullpath, p_path, path_len); *(fullpath + (path_len)) = '/'; @@ -98,7 +98,7 @@ char { ft_lcom_clear(&msh->curr); ft_s_destroy(msh); - ft_fail_alloc(); + ft_fail_alloc(msh); } return (envpath); } -- cgit v1.2.3