diff options
author | Isaac Freund <ifreund@ifreund.xyz> | 2021-01-05 12:51:31 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-05 13:53:58 +0100 |
commit | 0cba1ce7478035fb90ca2043868f4be78ff165a1 (patch) | |
tree | d8829260f71c7b8da2ef8da5a53707a0be450686 /include/util | |
parent | bf926e31a0bda9f621eb25ffe77046d171e48b13 (diff) |
gtk 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 'include/util')
0 files changed, 0 insertions, 0 deletions