Skip to content

platforms/drm: don't delete connectors in DrmGpu::removeOutput

Xaver Hugl requested to merge work/fix-5-22-crash into Plasma/5.22

In DrmGpu::updateOutputs the connector is in the oldConnectors vector, in DrmGpu::~DrmGpu it's in m_connectors. In both cases that's causing a double free.

I'm targeting 5.22 because only 5.22 has the bug, it's not there on master anymore (and I plan on improving the code handling the active connectors stuff etc anyways)

BUG: 438789 FIXED-IN: 5.22.4

Merge request reports