mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Patch from Tapani P?lli to fix a memory leak in X11_GL_CreateContext
This commit is contained in:
parent
077d6e6464
commit
a1f427651d
@ -648,6 +648,7 @@ X11_GL_CreateContext(_THIS, SDL_Window * window)
|
||||
context = _this->gl_data->glXCreateContextAttribsARB(display,
|
||||
framebuffer_config[0],
|
||||
share_context, True, attribs);
|
||||
X11_XFree(framebuffer_config);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user