diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2019-03-25 12:32:04 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2019-03-25 12:45:52 +0100 |
commit | 578156337176bf759dace40fb5a81919f65562f1 (patch) | |
tree | ac718eab3c50c8f84562265ba9c5a0c041092f64 /present | |
parent | 8e2f5410cec5b052fb4da9d1b774a5858903dc35 (diff) |
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: Olivier Fourdan <ofourdan@redhat.com>
(Cherry picked from commit 2e18eec6f03cc4d9d5bf62853c65d341b363f4b3)
Diffstat (limited to 'present')
0 files changed, 0 insertions, 0 deletions