aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_put_ptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_printf_put_ptr.c')
-rw-r--r--libft/src/ft_printf_put_ptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libft/src/ft_printf_put_ptr.c b/libft/src/ft_printf_put_ptr.c
index 409847d..9ee7636 100644
--- a/libft/src/ft_printf_put_ptr.c
+++ b/libft/src/ft_printf_put_ptr.c
@@ -37,7 +37,7 @@ void
{
str = ft_uitoa_base(p, FT_MIN_HEX_BASE);
ft_printf_cat_output(str, ft_strlen(str), pflist);
- ft_memdel(str);
+ ft_memdel((void**)&str);
}
ft_printf_put_width_post(pflist);
}