From 1e84a8792302f0446e8eb838f478b4a6564d1011 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 23:42:05 +0100 Subject: I think we good --- src/ft_del_tex.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ft_del_tex.c') diff --git a/src/ft_del_tex.c b/src/ft_del_tex.c index 55eff72..07265fa 100644 --- a/src/ft_del_tex.c +++ b/src/ft_del_tex.c @@ -77,6 +77,10 @@ static void mlx_destroy_image(cl->wlist.wlx, cl->tlist[19].img); if (cl->tlist[20].img) mlx_destroy_image(cl->wlist.wlx, cl->tlist[20].img); + if (cl->tlist[21].img) + mlx_destroy_image(cl->wlist.wlx, cl->tlist[21].img); + if (cl->tlist[22].img) + mlx_destroy_image(cl->wlist.wlx, cl->tlist[22].img); } void -- cgit v1.2.3