From 7f3461875572335eedffa272226199dd1c2fc92a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 16 Mar 2020 19:28:18 +0100 Subject: Cleaner memdels --- src/ft_init_sfx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_init_sfx.c') 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); } -- cgit v1.2.3