diff options
Diffstat (limited to 'src/ft_init_winlx.c')
-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); |