aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 04:54:43 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 04:54:43 +0100
commit2ad0774ca20e56a4c64cd1fa6531739c701a61ed (patch)
tree6d1322eab2e85e3f926841b0b8aef2c73ecdbc1c /src/ft_exit.c
parentStill bug on death (diff)
download42-cub3d-2ad0774ca20e56a4c64cd1fa6531739c701a61ed.tar.gz
42-cub3d-2ad0774ca20e56a4c64cd1fa6531739c701a61ed.tar.bz2
42-cub3d-2ad0774ca20e56a4c64cd1fa6531739c701a61ed.tar.xz
42-cub3d-2ad0774ca20e56a4c64cd1fa6531739c701a61ed.tar.zst
42-cub3d-2ad0774ca20e56a4c64cd1fa6531739c701a61ed.zip
I fucking love it
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r--src/ft_exit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index 28a1489..b0d7ada 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -38,6 +38,8 @@ static void
ft_memdel((void**)&clist->mlist.mapl);
ft_free_words(clist->mlist.map);
ft_free_words(clist->mlist.mcmd_words);
+ ft_free_words(clist->sfx.death);
+ ft_free_words(clist->sfx.trap);
ft_free_sprites(clist->mlist.sprite_path);
if (!clist->wlist.inited)
ft_memdel((void**)&clist->wlist.winptr);