summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-07-15 09:00:41 -0700
committerEmil Velikov <[email protected]>2015-09-15 12:37:26 +0100
commite4f0d26c8c3c092a09fb65184ab080de4e38373e (patch)
tree1425a07328440c46df26553dee551a7cf336915a /common.py
parent4bf151e66279da00655cec02aadb52c9c6583213 (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 'common.py')
0 files changed, 0 insertions, 0 deletions