diff options
Diffstat (limited to 'libft/src/ft_printf.c')
-rw-r--r-- | libft/src/ft_printf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libft/src/ft_printf.c b/libft/src/ft_printf.c index 747f516..a37d76e 100644 --- a/libft/src/ft_printf.c +++ b/libft/src/ft_printf.c @@ -23,9 +23,9 @@ static int int ret; ret = write(1, pflist->output, pflist->fulllen); - ft_memdel(pflist->output); - ft_memdel(pflist->fullflag); - ft_memdel(pflist); + ft_memdel((void**)&pflist->output); + ft_memdel((void**)&pflist->fullflag); + ft_memdel((void**)&pflist); return (ret); } |