platforms/drm: fix small memory leak

This commit is contained in:
Xaver Hugl 2021-09-28 23:48:36 +02:00
parent 6bbda88ab5
commit 6ca530e02b

View file

@ -253,6 +253,7 @@ bool DrmGpu::updateOutputs()
removeLeaseOutput(leaseOutput); removeLeaseOutput(leaseOutput);
} }
m_connectors.removeOne(connector); m_connectors.removeOne(connector);
delete connector;
} }
// find unused and connected connectors // find unused and connected connectors