diff --git a/client/renderers/EGL/framebuffer.c b/client/renderers/EGL/framebuffer.c index 63df950d..667354c6 100644 --- a/client/renderers/EGL/framebuffer.c +++ b/client/renderers/EGL/framebuffer.c @@ -43,6 +43,7 @@ bool egl_framebufferInit(EGL_Framebuffer ** fb) if (!egl_textureInit(&this->tex, NULL, EGL_TEXTYPE_BUFFER)) { DEBUG_ERROR("Failed to initialize the texture"); + free(this); return false; }