From 6ca530e02b26fd626fead86b7e2474b219c72def Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 28 Sep 2021 23:48:36 +0200 Subject: [PATCH] platforms/drm: fix small memory leak --- src/plugins/platforms/drm/drm_gpu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/drm/drm_gpu.cpp b/src/plugins/platforms/drm/drm_gpu.cpp index 7449eb02a6..bb6787a0c5 100644 --- a/src/plugins/platforms/drm/drm_gpu.cpp +++ b/src/plugins/platforms/drm/drm_gpu.cpp @@ -253,6 +253,7 @@ bool DrmGpu::updateOutputs() removeLeaseOutput(leaseOutput); } m_connectors.removeOne(connector); + delete connector; } // find unused and connected connectors