mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[client] egl: fix potential resource leak
This commit is contained in:
parent
55fa5cc851
commit
ee5c02f72a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user