aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_put_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_printf_put_str.c')
-rw-r--r--libft/src/ft_printf_put_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libft/src/ft_printf_put_str.c b/libft/src/ft_printf_put_str.c
index a11128b..dcb732c 100644
--- a/libft/src/ft_printf_put_str.c
+++ b/libft/src/ft_printf_put_str.c
@@ -32,7 +32,7 @@ void
{
ft_printf_cat_output(nstr = ft_substr(str, 0, pflist->putlen),
pflist->putlen, pflist);
- ft_memdel(nstr);
+ ft_memdel((void**)&nstr);
}
else
ft_printf_cat_output(str, pflist->putlen, pflist);