diff options
author | Matt Turner <[email protected]> | 2015-07-15 09:00:41 -0700 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-09-15 12:37:26 +0100 |
commit | e4f0d26c8c3c092a09fb65184ab080de4e38373e (patch) | |
tree | 1425a07328440c46df26553dee551a7cf336915a /scons | |
parent | 4bf151e66279da00655cec02aadb52c9c6583213 (diff) |
egl/dri2: Close file descriptor on error.
v2: [Emil Velikov]
Rework the error path to a common goto, close only if we own the fd.
v3; [Emil Velikov]
Always close the fd (we either opened the device or dup'd) (Boyan, Ian)
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Boyan Ding <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions