diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-05 19:59:43 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-05 19:59:43 +0200 |
commit | 1ec7baa32438f58990f813e8659b52d3bb8aa743 (patch) | |
tree | 0d65604d426c78479cffe023a57604bb10b1d6ba /src/s_destroy.c | |
parent | FeelsGoodMan (diff) | |
download | 42-minishell-1ec7baa32438f58990f813e8659b52d3bb8aa743.tar.gz 42-minishell-1ec7baa32438f58990f813e8659b52d3bb8aa743.tar.bz2 42-minishell-1ec7baa32438f58990f813e8659b52d3bb8aa743.tar.xz 42-minishell-1ec7baa32438f58990f813e8659b52d3bb8aa743.tar.zst 42-minishell-1ec7baa32438f58990f813e8659b52d3bb8aa743.zip |
Fixed $PWD at startup
Diffstat (limited to '')
-rw-r--r-- | src/s_destroy.c | 1 |
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); |