-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126097/
-----------------------------------------------------------

Review request for Plasma and Sebastian Kügler.


Repository: kwayland


Description
-------

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.


Diffs
-----

  src/server/output_interface.cpp 646eb50bf816ce678ae5d726a993323c6fcbefa7 
  src/server/outputdevice_interface.cpp 
a2d0c43830e4d889c611dec76e11503891725c0b 

Diff: https://git.reviewboard.kde.org/r/126097/diff/


Testing
-------


Thanks,

Martin Gräßlin

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to