From c19bd35afdb45e49cebdfd96e7adb1e6fe477f0c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 30 Jul 2020 20:30:58 +0200 Subject: Double exit no more --- src/e_externs_next.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/e_externs_next.c') diff --git a/src/e_externs_next.c b/src/e_externs_next.c index ba3c2d5..e33405c 100644 --- a/src/e_externs_next.c +++ b/src/e_externs_next.c @@ -33,7 +33,7 @@ static char { lcom_clear(&msh->curr); s_destroy(msh); - fail_alloc(msh); + f_fail_alloc(msh); } (void)ft_memcpy(fullpath, p_path, path_len); *(fullpath + (path_len)) = '/'; @@ -97,7 +97,7 @@ char { lcom_clear(&msh->curr); s_destroy(msh); - fail_alloc(msh); + f_fail_alloc(msh); } return (envpath); } -- cgit v1.2.3