aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_put_precision.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_printf_put_precision.c')
-rw-r--r--libft/src/ft_printf_put_precision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libft/src/ft_printf_put_precision.c b/libft/src/ft_printf_put_precision.c
index 7898102..cc237fa 100644
--- a/libft/src/ft_printf_put_precision.c
+++ b/libft/src/ft_printf_put_precision.c
@@ -61,7 +61,7 @@ int
str = ft_memset(str, '0', len);
*(str + len) = '\0';
ft_printf_cat_output(str, ft_strlen(str), pflist);
- ft_memdel(str);
+ ft_memdel((void**)&str);
}
return (0);
}