diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-16 19:28:18 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-16 19:28:18 +0100 |
commit | 7f3461875572335eedffa272226199dd1c2fc92a (patch) | |
tree | ab0a7ac913340dc09222cd49c72ead44ddc93fd4 /src/ft_free_words.c | |
parent | Still searching (diff) | |
download | 42-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 'src/ft_free_words.c')
-rw-r--r-- | src/ft_free_words.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ft_free_words.c b/src/ft_free_words.c index a90b959..3ca01c8 100644 --- a/src/ft_free_words.c +++ b/src/ft_free_words.c @@ -20,10 +20,10 @@ uint8_t i = 0; while (i < 9) { - ft_memdel((void**)&sprites[i]); + ft_memdel((void*)&sprites[i]); i++; } - ft_memdel((void**)&sprites); + ft_memdel((void*)&sprites); return (0); } @@ -35,9 +35,9 @@ uint8_t i = 0; while (words[i]) { - ft_memdel((void**)&words[i]); + ft_memdel((void*)&words[i]); i++; } - ft_memdel((void**)&words); + ft_memdel((void*)&words); return (0); } |