summaryrefslogtreecommitdiffstats
path: root/src/s_destroy.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-19 16:59:38 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-19 16:59:38 +0200
commit49b6183dc0171ac040bdd2faf6f8efa0448567c5 (patch)
treeeaff08562cedef9bf4267b0d17efce0485d2f51e /src/s_destroy.c
parentTODO update (diff)
download42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.tar.gz
42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.tar.bz2
42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.tar.xz
42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.tar.zst
42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.zip
Cleaner variables handling $0 $1 $2 $3
Diffstat (limited to 'src/s_destroy.c')
-rw-r--r--src/s_destroy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/s_destroy.c b/src/s_destroy.c
index 3e7eb21..12c2f7d 100644
--- a/src/s_destroy.c
+++ b/src/s_destroy.c
@@ -20,7 +20,6 @@ void
s_destroy(t_msh *msh)
{
ft_memdel((void*)&msh->prev_hist);
- ft_memdel((void*)&msh->shname);
ft_memdel((void*)&msh->cwd);
ft_delwords(msh->envp);
lvars_clear(&msh->vars);