Patch from Tapani P?lli to fix a memory leak in X11_GL_CreateContext

Sam Lantinga 2016-11-01 10:46:47 -07:00
parent 077d6e6464
commit a1f427651d
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}
}