From c8ba75c31c949d3b5e5ba44e389550ea10096c5d Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 16 Sep 2020 21:09:14 +0200 Subject: Leak fix --- 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 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); -- cgit v1.2.3