summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-01-22 17:35:40 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-02-18 11:02:25 +0000
commitb0eada1707f0b7b4346663b98a7fb1a803580327 (patch)
treeb4f3f81d180123cf245202f837eddc8c9b5c8584 /Makefile.am
parent4db985a5fa9ea985616a726b1770727309502d81 (diff)
downloadexternal_mesa3d-b0eada1707f0b7b4346663b98a7fb1a803580327.zip
external_mesa3d-b0eada1707f0b7b4346663b98a7fb1a803580327.tar.gz
external_mesa3d-b0eada1707f0b7b4346663b98a7fb1a803580327.tar.bz2
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>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions