diff options
Diffstat (limited to 'src/s_destroy.c')
-rw-r--r-- | src/s_destroy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s_destroy.c b/src/s_destroy.c index 97a47d8..54f3d4a 100644 --- a/src/s_destroy.c +++ b/src/s_destroy.c @@ -13,6 +13,7 @@ #include <libft.h> #include "s_destroy.h" +#include "s_lalias.h" #include "s_lvars.h" void @@ -20,8 +21,8 @@ void { ft_memdel((void*)&msh->shname); ft_memdel((void*)&msh->cwd); - ft_delwords(msh->bu_ref); ft_delwords(msh->envp); lvars_clear(&msh->vars); + s_lalias_clear(&msh->alias); ft_memdel((void*)&msh); } |