From 3349e8a37a9fdf78b82d6df1d310e39c78fcebb2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 20 Apr 2020 18:46:17 +0200 Subject: Trying linked lists --- src/ft_s_destroy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_s_destroy.c') diff --git a/src/ft_s_destroy.c b/src/ft_s_destroy.c index 8c82297..02336d3 100644 --- a/src/ft_s_destroy.c +++ b/src/ft_s_destroy.c @@ -14,9 +14,9 @@ #include "ft_s_destroy.h" void -ft_s_destroy(t_msh *msh) + ft_s_destroy(t_msh *msh) { ft_memdel((void*)&msh->ps_one); - ft_memdel((void*)&msh->bu_ptr); + ft_memdel((void*)&msh->bu_ref); ft_memdel((void*)&msh); } -- cgit v1.2.3