My KWIN fork where I work on features like per-output virtual desktops
Find a file
Martin Gräßlin 9558edb96d [server] Fix possible crash after deleting an output(device)interface
After deleting an OutputInterface the resources are not necessarily
destroyed, so unbind might still be called. The existing code just
casted the resource's user data which could then point to invalidated
memory.

This change verifies that we still have a Private* for the resource.
If not, it doesn't have to do any cleanup anyway.

REVIEW: 126097
2015-11-17 16:37:01 +01:00
src/wayland [server] Fix possible crash after deleting an output(device)interface 2015-11-17 16:37:01 +01:00