mesa/src/egl
Eric Engestrom 11da77e546 egl/drm: remove temporary fd variable
In all codepaths, this var ends up assigned to the struct, except one:
a cleanup codepath, where the `close()` was removed, leading to fd leaks.
Remove the temp fd and assign to the struct field directly instead.

CovID: 1213930
Fixes: 7ec07beedf ("egl/drm: make use of the
                              dri2_display_destroy() helper")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-05-31 18:09:27 +01:00
..
drivers egl/drm: remove temporary fd variable 2017-05-31 18:09:27 +01:00
generate EGL: Implement the libglvnd interface for EGL (v3) 2017-04-17 13:03:58 +01:00
main egl: advertise EGL_EXT_image_dma_buf_import_modifiers 2017-05-30 13:56:20 +01:00
wayland wayland: move .gitignore where applicable 2017-03-13 11:16:30 +00:00
.gitignore egl: add gitignore 2017-04-22 00:42:38 +01:00
Android.mk Android: push driver build details to driver makefiles 2017-05-11 13:52:21 +01:00
egl-entrypoint-check check: add support for running test as standalone 2017-02-26 13:39:45 +00:00
egl-symbols-check egl/egl-symbols-check: do not mandate bash 2017-03-10 14:12:48 +00:00
Makefile.am configure: set HAVE_foo_PLATFORM as applicable 2017-05-19 19:44:09 +01:00
Makefile.sources egl: remove suprous header eglcompiler.h 2017-05-08 15:33:59 +01:00
SConscript egl: Fix missing Haiku include path 2015-09-28 13:58:25 -04:00