diff options
Diffstat (limited to 'src/ft_s_destroy.c')
-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 08980b5..22009c8 100644 --- a/src/ft_s_destroy.c +++ b/src/ft_s_destroy.c @@ -22,6 +22,7 @@ void ft_memdel((void*)&msh->cwd); ft_memdel((void*)&msh->shname); ft_delwords(msh->bu_ref); + ft_delwords(msh->envp); ft_lvars_clear(&msh->vars); ft_memdel((void*)&msh); } |