summaryrefslogtreecommitdiffstats
path: root/src/s_destroy.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-11 17:16:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-11 17:16:20 +0200
commiteca7d2ebbc4db224a335837111771e5573bc30f2 (patch)
treec6b0cec1b0af769632df2ff31ca3331e9f7c301c /src/s_destroy.c
parentPreparing files (diff)
download42-minishell-eca7d2ebbc4db224a335837111771e5573bc30f2.tar.gz
42-minishell-eca7d2ebbc4db224a335837111771e5573bc30f2.tar.bz2
42-minishell-eca7d2ebbc4db224a335837111771e5573bc30f2.tar.xz
42-minishell-eca7d2ebbc4db224a335837111771e5573bc30f2.tar.zst
42-minishell-eca7d2ebbc4db224a335837111771e5573bc30f2.zip
Better
Diffstat (limited to '')
-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 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);
}