diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 20:31:21 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 20:31:21 +0200 |
commit | 9f073fc25c90974b408c75bf9a063538cb3cdefe (patch) | |
tree | ac01185f1a4068698f0309481c3786f65e261489 /src/ft_s_destroy.c | |
parent | < redir works (diff) | |
download | 42-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.c | 1 |
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); } |