summaryrefslogtreecommitdiffstats
path: root/src/ft_b_cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_b_cd.c')
-rw-r--r--src/ft_b_cd.c2
1 files changed, 0 insertions, 2 deletions
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);
}