From 8d7f65c1c04f7124f1a34062be377fdbe721c46a Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 17:05:54 +0100 Subject: Correct ft_memdel --- libft/src/ft_printf_get_width_nstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libft/src/ft_printf_get_width_nstr.c') diff --git a/libft/src/ft_printf_get_width_nstr.c b/libft/src/ft_printf_get_width_nstr.c index 15b9f98..cb1b665 100644 --- a/libft/src/ft_printf_get_width_nstr.c +++ b/libft/src/ft_printf_get_width_nstr.c @@ -31,7 +31,7 @@ int { str = ft_printf_flag_to_atoi(pflist->fullflag); ret = ft_atoi(str); - ft_memdel(str); + ft_memdel((void**)&str); } else { -- cgit v1.2.3