platforms/drm: fix small memory leak
This commit is contained in:
parent
6bbda88ab5
commit
6ca530e02b
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ bool DrmGpu::updateOutputs()
|
|||
removeLeaseOutput(leaseOutput);
|
||||
}
|
||||
m_connectors.removeOne(connector);
|
||||
delete connector;
|
||||
}
|
||||
|
||||
// find unused and connected connectors
|
||||
|
|
Loading…
Reference in a new issue