Skip to content

xwayland/present: Destroy sync_callback in xwl_present_cleanup

xwl_present_cleanup frees the struct xwl_present_window memory, so if there's a pending callback, we have to destroy it to prevent use-after-free in xwl_present_sync_callback.

Should fix issue #645 (closed).

Merge request reports

Loading