aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}