5c5f0272d9
When hotunplugging a display, the compositor will tear the top-level wet_output object down, freeing its memory. However, destruction of the backend output might be delayed in certain situations (e.g. destroying DRM output while in the middle of a page flip). When the backend output is finally destroyed, it will trigger a destruction callback previously added by the compositor, which point to data belonging to the top-level wet_output object. In order to avoid access to invalid data when the backend output is destroyed after the top-level wet_output object, remove the destruction callback from the corresponding list before freeing the object. Signed-off-by: Miguel A Vico Moya <mvicomoya@nvidia.com> |
||
---|---|---|
.. | ||
cms-colord.c | ||
cms-helper.c | ||
cms-helper.h | ||
cms-static.c | ||
main.c | ||
meson.build | ||
screen-share.c | ||
systemd-notify.c | ||
text-backend.c | ||
weston-screenshooter.c | ||
weston.desktop | ||
weston.h | ||
xwayland.c |