mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 15:58:04 -05:00
Patch from Tapani Pälli to fix a memory leak in X11_GL_CreateContext
This commit is contained in:
parent
94bd9eafc8
commit
6b10850cb3
|
|
@ -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