summaryrefslogtreecommitdiffstats
path: root/src/s_destroy.c
diff options
context:
space:
mode:
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 54f3d4a..3e7eb21 100644
--- a/src/s_destroy.c
+++ b/src/s_destroy.c
@@ -19,6 +19,7 @@
void
s_destroy(t_msh *msh)
{
+ ft_memdel((void*)&msh->prev_hist);
ft_memdel((void*)&msh->shname);
ft_memdel((void*)&msh->cwd);
ft_delwords(msh->envp);