We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling mlx_destroy_window through DestroyNotify hook causes invalid read. This is happening in this snippet: https://github.com/42Paris/minilibx-linux/blob/7dc53a411a7d4ae286c60c6229bd1e395b0efb82/mlx_loop.c#L53-L56 I think this is caused by the check of win->hooks[ev.type].hook at line 55 after win is freed in the previous line.
mlx_destroy_window
DestroyNotify
win->hooks[ev.type].hook
win
The text was updated successfully, but these errors were encountered:
Fix 42paris#58
7b689db
Successfully merging a pull request may close this issue.
Calling
mlx_destroy_window
throughDestroyNotify
hook causes invalid read. This is happening in this snippet:https://github.com/42Paris/minilibx-linux/blob/7dc53a411a7d4ae286c60c6229bd1e395b0efb82/mlx_loop.c#L53-L56
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: