aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-01-26 22:28:11 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-01-26 22:28:11 +0100
commit29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede (patch)
treea6060e809807384d96099df120d0c423d1da09b1 /src/ft_exit.c
parentBetter error management (diff)
download42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.tar.gz
42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.tar.bz2
42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.tar.xz
42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.tar.zst
42-cub3d-29b45c0bbdcc3a8eb980d6fdc65efa09382c0ede.zip
Can't believe it
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r--src/ft_exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index 165c3d9..14f1f2a 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -11,6 +11,7 @@ ft_free_lists(t_win *wlist)
ft_memdel(wlist->clist->ea_tex_path);
ft_memdel(wlist->clist->we_tex_path);
ft_memdel(wlist->clist->sprite_path);
+ ft_free_words(wlist->clist->map, NULL);
ft_memdel(wlist->clist);
ft_memdel(wlist->winptr);
ft_memdel(wlist->wlx);