From ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 18 Jul 2020 22:30:33 +0200 Subject: ok nice --- src/ft_b_cd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ft_b_cd.c') diff --git a/src/ft_b_cd.c b/src/ft_b_cd.c index fbd0282..9a93144 100644 --- a/src/ft_b_cd.c +++ b/src/ft_b_cd.c @@ -66,8 +66,6 @@ uint8_t ft_memdel((void*)&path); return (1); } - ft_memdel((void*)&msh->cwd); - msh->cwd = getcwd(NULL, 0); ft_memdel((void*)&path); return (0); } -- cgit v1.2.3