aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_android.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-05-31 16:57:42 +0100
committerEric Engestrom <[email protected]>2017-05-31 18:09:27 +0100
commit11da77e5468efd9d02e27e056aeb6abdc56b88b0 (patch)
tree535b622a037cf3064839284f22a189351043e519 /src/egl/drivers/dri2/platform_android.c
parentc222fa9ada88980e5613dbca6217219cf0d62d4a (diff)
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: 7ec07beedf486d8ab901 ("egl/drm: make use of the dri2_display_destroy() helper") Reviewed-by: Emil Velikov <[email protected]> Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/platform_android.c')
0 files changed, 0 insertions, 0 deletions