Skip to content

Free device the right way

Mohammed Sadiq requested to merge (removed):wip/sadiq/fix-device-free into master

the device_arr contains a PurMmDevice. Not an object. Add a free function for that and use it.

Also, add a ref on object when adding to device to avoid pointing to an invalid object when it is removed.

Fixes chatty#355 (closed)

Merge request reports