[client] egl: fix framebuffer leaking textures

This commit is contained in:
Quantum 2021-08-27 00:37:23 -04:00 committed by Geoffrey McRae
parent e5f2b3079e
commit 5225d2e97f

View file

@ -56,6 +56,7 @@ void egl_framebufferFree(EGL_Framebuffer ** fb)
{ {
EGL_Framebuffer * this = *fb; EGL_Framebuffer * this = *fb;
egl_textureFree(&this->tex);
free(this); free(this);
*fb = NULL; *fb = NULL;
} }