Patch uses XFree to free the memory returned by glXChooseFBConfig.
— 8< —
==21042== 512 bytes in 1 blocks are definitely lost in loss record 114 of 134
==21042== at 0x4C2BBAD: malloc (vg_replace_malloc.c:299)
==21042== by 0x518E4F3: glXGetFBConfigs (glxcmds.c:1690)
==21042== by 0x518F6DE: glXChooseFBConfig (glxcmds.c:1608)
==21042== by 0x4F23A64: X11_GL_CreateContext (SDL_x11opengl.c:642)
In general it’s helpful to submit a bug to http://bugzilla.libsdl.org so
that patches don’t get lost on the mailing list.
Cheers,On Tue, Nov 1, 2016 at 12:23 AM, Tapani P?lli <tapani.palli at intel.com> wrote:
Patch uses XFree to free the memory returned by glXChooseFBConfig.
— 8< —
==21042== 512 bytes in 1 blocks are definitely lost in loss record 114 of
134
==21042== at 0x4C2BBAD: malloc (vg_replace_malloc.c:299)
==21042== by 0x518E4F3: glXGetFBConfigs (glxcmds.c:1690)
==21042== by 0x518F6DE: glXChooseFBConfig (glxcmds.c:1608)
==21042== by 0x4F23A64: X11_GL_CreateContext (SDL_x11opengl.c:642)
Signed-off-by: Tapani P?lli <tapani.palli at intel.com>