aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_parts.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_printf_parts.c')
-rw-r--r--libft/src/ft_printf_parts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libft/src/ft_printf_parts.c b/libft/src/ft_printf_parts.c
index 55a48dd..8c83936 100644
--- a/libft/src/ft_printf_parts.c
+++ b/libft/src/ft_printf_parts.c
@@ -37,7 +37,7 @@ int
int ret;
ft_printf_cat_output(nstr = ft_substr(format, start, len), len, pflist);
- ft_memdel(nstr);
+ ft_memdel((void**)&nstr);
ret = 0;
return (ret);
}