From 27e3be3778121a2078a44f620605bab9dd9d7b17 Mon Sep 17 00:00:00 2001 From: Quantum Date: Wed, 21 Jul 2021 22:15:53 -0400 Subject: [PATCH] [client] egl: free desktop damage after rendering --- client/renderers/EGL/egl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/renderers/EGL/egl.c b/client/renderers/EGL/egl.c index 77273689..7f713bf9 100644 --- a/client/renderers/EGL/egl.c +++ b/client/renderers/EGL/egl.c @@ -1054,6 +1054,7 @@ bool egl_render(void * opaque, LG_RendererRotate rotate, const bool newFrame) } } this->hadOverlay = hasOverlay; + free(desktopDamage); app_eglSwapBuffers(this->display, this->surface, damage, damageIdx); return true;