summaryrefslogtreecommitdiffstats
path: root/src/ft_b_cd.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 22:30:33 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 22:30:33 +0200
commitee65a03a7ac25d6690e1c994dc6ff435aaaa5f66 (patch)
treeb37a19fca10a3562580898917a7075bbd085e832 /src/ft_b_cd.c
parentOn the way to cwd (diff)
download42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.tar.gz
42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.tar.bz2
42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.tar.xz
42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.tar.zst
42-minishell-ee65a03a7ac25d6690e1c994dc6ff435aaaa5f66.zip
ok nice
Diffstat (limited to '')
-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);
}