diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-29 17:38:46 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-29 17:38:46 +0200 |
commit | a07392fc219afc45000201d2f495694ad9b82763 (patch) | |
tree | 0eb3f2b9003ad7ceae4692242e46de56e55053b0 /src/ft_exit.c | |
parent | Removed skybox shit (diff) | |
parent | Norm (diff) | |
download | 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.gz 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.bz2 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.xz 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.zst 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.zip |
Merge branch 'fix-details'
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r-- | src/ft_exit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c index ed1191c..79b3068 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -21,6 +21,15 @@ static void ft_del_last_remains(t_cub *clist) { + uint16_t i; + + i = 0; + while (i < clist->big_t_val) + { + ft_memdel((void*)&clist->big_t[i]); + i++; + } + ft_memdel((void*)&clist->big_t); if (!clist->wlist.inited) { ft_memdel((void*)&clist->wlist.winptr); |