aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-11 15:30:51 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-11 15:30:51 +0100
commit114df1314a69161e5802ce6192aa8f1599867f3e (patch)
treecbb1c2f3c9e942a17b544d613f011aa7569e13cb /src/ft_exit.c
parentis not working (diff)
download42-cub3d-114df1314a69161e5802ce6192aa8f1599867f3e.tar.gz
42-cub3d-114df1314a69161e5802ce6192aa8f1599867f3e.tar.bz2
42-cub3d-114df1314a69161e5802ce6192aa8f1599867f3e.tar.xz
42-cub3d-114df1314a69161e5802ce6192aa8f1599867f3e.tar.zst
42-cub3d-114df1314a69161e5802ce6192aa8f1599867f3e.zip
qweqwe
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 4a131c8..e0093da 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -73,6 +73,7 @@ int
ft_del_tex(clist);
if (clist->wlist.inited)
{
+ mlx_destroy_image(clist->wlist.wlx, clist->img.img);
mlx_destroy_window(clist->wlist.wlx, clist->wlist.winptr);
clist->wlist.winptr = NULL;
}