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
..
2015-02-10 20:35:10 -08:00
2014-12-12 12:11:49 -08:00
2013-01-10 22:01:31 +01:00
2014-05-23 15:24:07 +01:00
2013-12-03 14:35:41 -07:00
2014-02-07 08:14:05 -07:00
2012-02-06 23:00:44 +00:00
2013-07-18 16:03:42 -07:00
2014-06-18 09:55:45 +01:00
2014-08-21 16:59:48 +01:00
2015-02-18 11:02:25 +00:00
2014-08-21 16:59:48 +01:00
2014-12-14 15:09:49 +00:00
2014-12-14 15:09:49 +00:00
2014-08-21 16:59:48 +01:00
2014-06-12 10:19:00 -06:00
2014-12-17 08:37:05 +11:00
2014-08-21 21:47:37 +01:00
2014-08-21 21:47:37 +01:00
2014-08-15 17:35:37 +01:00
2014-08-15 17:35:37 +01:00
2010-02-09 09:58:36 -05:00
2011-12-23 08:40:30 -08:00
2011-12-23 08:40:30 -08:00
2014-06-26 15:37:14 +03:00
2012-10-09 14:32:02 -07:00
2014-12-16 13:50:53 +02:00
2014-12-16 13:50:53 +02:00
2012-09-05 22:28:50 -07:00
2011-03-06 20:06:42 +10:00
2014-05-23 15:24:07 +01:00
2014-06-27 09:44:56 +10:00
2014-04-02 21:28:26 +01:00
2014-03-13 14:19:21 -07:00
2010-02-09 09:58:36 -05:00
2010-02-09 09:58:36 -05:00
2014-05-23 15:24:07 +01:00
2010-07-28 16:45:25 -04:00
2012-11-12 10:53:57 -08:00
2012-11-12 10:53:57 -08:00
2010-02-09 09:58:36 -05:00
2014-01-06 10:23:26 -07:00
2010-02-09 09:58:36 -05:00
2012-11-12 10:53:57 -08:00
2012-11-12 10:53:57 -08:00
2014-12-12 12:11:50 -08:00
2010-07-28 16:45:25 -04:00
2010-07-28 16:45:25 -04:00
2010-07-28 16:45:25 -04:00
2010-07-28 16:45:25 -04:00
2013-11-11 08:10:12 -07:00
2014-05-23 15:24:07 +01:00
2012-09-05 22:28:50 -07:00
2014-08-21 12:22:18 -07:00
2013-06-27 07:48:18 -06:00
2014-03-03 13:08:59 -07:00
2014-05-23 15:24:07 +01:00
2014-01-17 20:00:32 +00:00
2014-01-17 20:00:32 +00:00
2014-01-17 20:00:32 +00:00
2015-02-10 22:22:33 -08:00