Skip to content
Commit 57815633 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

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.

Reviewed-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
(Cherry picked from commit 2e18eec6)
parent 8e2f5410
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment