From 6451cb2cfe6b8708caa20a0216825a76302d763b Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sat, 14 May 2022 20:29:53 +0300 Subject: [PATCH] backends/drm: Also release cursor layer buffers --- src/backends/drm/drm_gpu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/drm/drm_gpu.cpp b/src/backends/drm/drm_gpu.cpp index 1f7d338199..b83f647d60 100644 --- a/src/backends/drm/drm_gpu.cpp +++ b/src/backends/drm/drm_gpu.cpp @@ -791,6 +791,7 @@ void DrmGpu::releaseBuffers() } for (const auto &pipeline : qAsConst(m_pipelines)) { pipeline->primaryLayer()->releaseBuffers(); + pipeline->cursorLayer()->releaseBuffers(); } for (const auto &output : qAsConst(m_outputs)) { if (const auto virtualOutput = qobject_cast(output)) {