diff options
author | Isaac Freund <ifreund@ifreund.xyz> | 2021-01-05 12:46:48 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-05 13:53:58 +0100 |
commit | bf926e31a0bda9f621eb25ffe77046d171e48b13 (patch) | |
tree | f88519ef31ce01fb8cbf8b1c6ef1c8d42c85c9ba /xwayland/xwm.c | |
parent | d3047011d06867269f5df88285d62729ac0646e1 (diff) |
primary selection: destroy devices before manager
Since device_destroy() calls wl_list_remove() on the device's link,
the manager must still be valid. However if the manager is destroyed
before the seat as the wl_display destroy handlers are called, devices
listening for the seat to be destroyed will access free'd memory in
wl_list_remove().
Diffstat (limited to 'xwayland/xwm.c')
0 files changed, 0 insertions, 0 deletions