summaryrefslogtreecommitdiffstats
path: root/src/ft_s_destroy.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-25 16:40:34 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-25 16:40:34 +0200
commite42601eb5acc07417b217dfed4e9ab8cbb91794f (patch)
tree76e7dacd2e8d93012fecf2c29fcb4d14e6d1baed /src/ft_s_destroy.c
parent(fd)>qwe fd agregation redir works (diff)
download42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.gz
42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.bz2
42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.xz
42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.zst
42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.zip
Stupid bash rule
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 7f495c4..f339e8d 100644
--- a/src/ft_s_destroy.c
+++ b/src/ft_s_destroy.c
@@ -18,6 +18,7 @@ void
{
ft_memdel((void*)&msh->ps_one);
ft_memdel((void*)&msh->cwd);
+ ft_memdel((void*)&msh->shname);
ft_delwords(msh->bu_ref);
ft_memdel((void*)&msh);
}