mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-30 23:28:28 +00:00
fix some memory issues
This commit is contained in:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user