mesa/src
Emil Velikov b0eada1707 glx: do not leak the dri2 extension information
The XExtensionInfo is allocated dynamically (if the pointer is NULL)
in the XEXT_GENERATE_FIND_DISPLAY macro. On the other hand the
macro XEXT_GENERATE_CLOSE_DISPLAY does not check/free the memory.

Follow the example set by dri1 and appledri, and use a static variable.

Spotted while hunting "still reachable" leaks in Waffle.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-02-18 11:02:25 +00:00
..
egl egl: Soften several HAVE_DRM_PLATFORM to HAVE_LIBDRM 2015-02-12 13:20:22 +00:00
gallium Revert "radeon/llvm: enable unsafe math for graphics shaders" 2015-02-18 17:06:32 +09:00
gbm gbm: Define _DEFAULT_SOURCE to avoid warning 2015-01-16 21:54:54 -08:00
getopt
glsl Avoid fighting with Solaris headers over isnormal() 2015-02-17 18:16:33 -08:00
glx glx: do not leak the dri2 extension information 2015-02-18 11:02:25 +00:00
gtest gtest: Add headers to distribution. 2014-12-12 12:11:46 -08:00
hgl hgl: traverse add-on entries 2014-12-10 14:01:01 +00:00
loader loader: Remove NEED_OPENGL_COMMON check. 2015-01-23 14:28:44 -08:00
mapi mesa: Add support for the ARB_pipeline_statistics_query extension 2015-02-17 23:01:11 -08:00
mesa st/mesa: add ARB_pipeline_statistics_query support 2015-02-18 02:10:47 -05:00
util Use __typeof instead of typeof with Solaris Studio compilers 2015-02-17 18:16:33 -08:00
Makefile.am glsl: Build a libglsl_util library. 2015-01-23 14:28:44 -08:00
SConscript egl: Fix non-dri SCons builds re #87657 2014-12-25 10:34:49 -05:00