aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_sfx.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-16 19:28:18 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-16 19:28:18 +0100
commit7f3461875572335eedffa272226199dd1c2fc92a (patch)
treeab0a7ac913340dc09222cd49c72ead44ddc93fd4 /src/ft_init_sfx.c
parentStill searching (diff)
download42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.gz
42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.bz2
42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.xz
42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.zst
42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.zip
Cleaner memdels
Diffstat (limited to '')
-rw-r--r--src/ft_init_sfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_init_sfx.c b/src/ft_init_sfx.c
index 9049250..1a06d11 100644
--- a/src/ft_init_sfx.c
+++ b/src/ft_init_sfx.c
@@ -31,10 +31,10 @@ static int8_t
ft_sprintf(tmp, FT_SND_CMD, path);
if (!(*target = ft_split(tmp, ' ')))
{
- ft_memdel((void**)&tmp);
+ ft_memdel((void*)&tmp);
return (-1);
}
- ft_memdel((void**)&tmp);
+ ft_memdel((void*)&tmp);
return (0);
}