diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-03-12 18:56:59 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-03-12 18:56:59 +0100 |
commit | 141fb4d33f73cac99b1b19e475f83fb755f208a2 (patch) | |
tree | e93c2d490440caee29f2c85d86c9dc9bd8512a28 /src/ft_exit.c | |
parent | kk (diff) | |
download | 42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.gz 42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.bz2 42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.xz 42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.zst 42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.zip |
good
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r-- | src/ft_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c index 7056114..4ed318c 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -27,7 +27,6 @@ static void ft_memdel((void**)&clist->mlist.so_tex_path); ft_memdel((void**)&clist->mlist.ea_tex_path); ft_memdel((void**)&clist->mlist.we_tex_path); - ft_free_words(clist->mlist.sprite_path); ft_memdel((void**)&clist->mlist.nl_tex_path); ft_memdel((void**)&clist->mlist.fl_tex_path); ft_memdel((void**)&clist->mlist.ce_tex_path); @@ -39,6 +38,7 @@ static void ft_memdel((void**)&clist->mlist.mapl); ft_free_words(clist->mlist.map); ft_free_words(clist->mlist.mcmd_words); + ft_free_sprites(clist->mlist.sprite_path); if (!clist->wlist.inited) ft_memdel((void**)&clist->wlist.winptr); } |