aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_get_width_nstr.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 17:05:54 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 17:05:54 +0100
commit8d7f65c1c04f7124f1a34062be377fdbe721c46a (patch)
tree36ef68573148ba58843608a499504138cca3595d /libft/src/ft_printf_get_width_nstr.c
parentRemoved whitespace (diff)
download42-cub3d-8d7f65c1c04f7124f1a34062be377fdbe721c46a.tar.gz
42-cub3d-8d7f65c1c04f7124f1a34062be377fdbe721c46a.tar.bz2
42-cub3d-8d7f65c1c04f7124f1a34062be377fdbe721c46a.tar.xz
42-cub3d-8d7f65c1c04f7124f1a34062be377fdbe721c46a.tar.zst
42-cub3d-8d7f65c1c04f7124f1a34062be377fdbe721c46a.zip
Correct ft_memdel
Diffstat (limited to '')
-rw-r--r--libft/src/ft_printf_get_width_nstr.c2
1 files changed, 1 insertions, 1 deletions
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
{