summaryrefslogtreecommitdiffstats
path: root/src/ft_s_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_s_destroy.c4
1 files changed, 2 insertions, 2 deletions
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);
}