From eca7d2ebbc4db224a335837111771e5573bc30f2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 11 Sep 2020 17:16:20 +0200 Subject: Better --- src/s_destroy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/s_destroy.c') diff --git a/src/s_destroy.c b/src/s_destroy.c index 97a47d8..6626bd9 100644 --- a/src/s_destroy.c +++ b/src/s_destroy.c @@ -23,5 +23,6 @@ void ft_delwords(msh->bu_ref); ft_delwords(msh->envp); lvars_clear(&msh->vars); + s_lalias_clear(&msh->alias); ft_memdel((void*)&msh); } -- cgit v1.2.3 From 6e74d376f1a888f4730b9fa39df1b34b251eb3f5 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 11 Sep 2020 17:45:49 +0200 Subject: Aliases list in progress --- src/s_destroy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/s_destroy.c') diff --git a/src/s_destroy.c b/src/s_destroy.c index 6626bd9..f9ce3c4 100644 --- a/src/s_destroy.c +++ b/src/s_destroy.c @@ -13,6 +13,7 @@ #include #include "s_destroy.h" +#include "s_lalias.h" #include "s_lvars.h" void -- cgit v1.2.3 From 33a5806163fb91e4a72e188a9933ada20395f4e9 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 15 Sep 2020 20:44:45 +0200 Subject: Builtins ref toked --- src/s_destroy.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/s_destroy.c') diff --git a/src/s_destroy.c b/src/s_destroy.c index f9ce3c4..54f3d4a 100644 --- a/src/s_destroy.c +++ b/src/s_destroy.c @@ -21,7 +21,6 @@ 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); -- cgit v1.2.3