summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-18 13:10:22 +0200
committerGitHub <noreply@github.com>2022-05-18 13:10:22 +0200
commit6c437763f65489b7c720c56d2f2f69781a39e497 (patch)
tree81d0fd4a54d5891558b62969ba3b41853dd761ff /src/Compositor.cpp
parentc2922b6b0941fc5fd4e82877df179e14cc2d3f93 (diff)
parentba573a529afdbf368aa632cf70b41c9a0595578b (diff)
Merge branch 'main' into scaling
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index bf98d079..ce807333 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -662,8 +662,8 @@ void CCompositor::cleanupFadingOut() {
g_pHyprOpenGL->m_mLayerFramebuffers[ls].release();
g_pHyprOpenGL->m_mLayerFramebuffers.erase(ls);
- m_lSurfacesFadingOut.remove(ls);
delete ls;
+ m_lSurfacesFadingOut.remove(ls);
Debug::log(LOG, "Cleanup: destroyed a layersurface");