summaryrefslogtreecommitdiffstats
path: root/src/b_cd.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/b_cd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/b_cd.c b/src/b_cd.c
index 441fc3c..c4b5c1b 100644
--- a/src/b_cd.c
+++ b/src/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);
}