diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-21 22:06:14 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-21 22:06:14 +0100 |
commit | d669957a4917d5928ca1a10d635409891ec19ed0 (patch) | |
tree | d405206f4d9f9d97280be3c97d814535cea44499 /src/ft_init_winlx.c | |
parent | fixed most valgrind bullshit (diff) | |
download | 42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.tar.gz 42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.tar.bz2 42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.tar.xz 42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.tar.zst 42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.zip |
Few fixes
Diffstat (limited to '')
-rw-r--r-- | src/ft_init_winlx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_init_winlx.c b/src/ft_init_winlx.c index 59d0b58..40c57df 100644 --- a/src/ft_init_winlx.c +++ b/src/ft_init_winlx.c @@ -18,6 +18,7 @@ int ft_init_winlx(t_cub *clist) { + ft_memdel((void*)&clist->wlist.wlx); if (!(clist->wlist.wlx = mlx_init())) return (-1); return (0); |