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