summaryrefslogtreecommitdiffstats
path: root/src/ft_s_destroy.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 20:31:21 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 20:31:21 +0200
commit9f073fc25c90974b408c75bf9a063538cb3cdefe (patch)
treeac01185f1a4068698f0309481c3786f65e261489 /src/ft_s_destroy.c
parent< redir works (diff)
download42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.tar.gz
42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.tar.bz2
42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.tar.xz
42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.tar.zst
42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.zip
pwd is bav
Diffstat (limited to '')
-rw-r--r--src/ft_s_destroy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_s_destroy.c b/src/ft_s_destroy.c
index 8d93250..7f495c4 100644
--- a/src/ft_s_destroy.c
+++ b/src/ft_s_destroy.c
@@ -17,6 +17,7 @@ void
ft_s_destroy(t_msh *msh)
{
ft_memdel((void*)&msh->ps_one);
+ ft_memdel((void*)&msh->cwd);
ft_delwords(msh->bu_ref);
ft_memdel((void*)&msh);
}