From 0daacec366aab889b2b24d7fc6edebe1370d7e28 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 20 Apr 2020 19:21:23 +0200 Subject: Linked list not working but ok --- src/ft_s_destroy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_s_destroy.c') diff --git a/src/ft_s_destroy.c b/src/ft_s_destroy.c index 02336d3..8d93250 100644 --- a/src/ft_s_destroy.c +++ b/src/ft_s_destroy.c @@ -17,6 +17,6 @@ void ft_s_destroy(t_msh *msh) { ft_memdel((void*)&msh->ps_one); - ft_memdel((void*)&msh->bu_ref); + ft_delwords(msh->bu_ref); ft_memdel((void*)&msh); } -- cgit v1.2.3