From 473d4591b095299ed14de0cdc6d6fad6ea422a93 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 17 May 2022 18:37:14 +0200 Subject: fix some memory issues --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compositor.cpp') 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"); -- cgit v1.2.3