aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_flag_to_atoi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libft/src/ft_printf_flag_to_atoi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libft/src/ft_printf_flag_to_atoi.c b/libft/src/ft_printf_flag_to_atoi.c
index f75a7f7..f6b2d8a 100644
--- a/libft/src/ft_printf_flag_to_atoi.c
+++ b/libft/src/ft_printf_flag_to_atoi.c
@@ -29,6 +29,6 @@ char
len = ft_strlchr(str, ' ');
nnstr = ft_substr(str, 0, len);
nstr = ft_strjoin(nnstr, str + len + 1);
- ft_memdel(nnstr);
+ ft_memdel((void**)&nnstr);
return (nstr);
}