mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-05 04:44:15 +00:00
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. Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>