summaryrefslogtreecommitdiffstats
path: root/src/s_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_destroy.c')
-rw-r--r--src/s_destroy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s_destroy.c b/src/s_destroy.c
index c96db09..a6f84e3 100644
--- a/src/s_destroy.c
+++ b/src/s_destroy.c
@@ -20,6 +20,7 @@ void
{
ft_memdel((void*)&msh->ps_one);
ft_memdel((void*)&msh->shname);
+ ft_memdel((void*)&msh->cwd);
ft_delwords(msh->bu_ref);
ft_delwords(msh->envp);
lvars_clear(&msh->vars);