[client] egl: free desktop damage after rendering

This commit is contained in:
Quantum 2021-07-21 22:15:53 -04:00 committed by Geoffrey McRae
parent 4954687a52
commit 27e3be3778

View file

@ -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;