You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (win&&ev.type==ClientMessage&&ev.xclient.message_type==xvar->wm_protocols&&ev.xclient.data.l[0] ==xvar->wm_delete_window&&win->hooks[DestroyNotify].hook)
Calling
mlx_destroy_window
throughDestroyNotify
hook causes invalid read. This is happening in this snippet:minilibx-linux/mlx_loop.c
Lines 53 to 56 in 7dc53a4
I think this is caused by the check of
win->hooks[ev.type].hook
at line 55 afterwin
is freed in the previous line.The text was updated successfully, but these errors were encountered: