Skip to content
Snippets Groups Projects
Commit 2332bc26 authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Ian Romanick
Browse files

wayland: Destroy frame callback when destroying surface


If a frame callback is not destroyed when destroying a surface, its
handler function will be invoked if the surface was destroyed after the
callback was requested but before it was invoked, causing a write on
free:ed memory.

This can happen if eglDestroySurface() is called shortly after
eglSwapBuffers().

Note: This is a candidate for stable branches.

Reviewed-by: default avatarKristian Høgsberg <krh@bitplanet.net>
(cherry picked from commit a3b6b2d3)
parent d2689068
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment