diff options
author | Emil Velikov <[email protected]> | 2015-11-23 20:26:56 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-11-29 14:39:03 +0000 |
commit | d90ba57c08dc51579c92224c7eedfc9f88f47853 (patch) | |
tree | 51b5a807334baf4b9aa6c7ad2d529671009a6480 /src/gallium/state_trackers/vdpau | |
parent | 5f92906b876d5463efba3ffb19c1de0dcb3c755f (diff) |
st/dri: fd management cleanups
Add some checks if the original/dup'd fd is valid and ensure that we
don't leak it on error. The former is implicitly handled within the
pipe_loader, although let's make things explicit and check beforehand.
Spotted by Coverity (CID 1339865)
Cc: [email protected]
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau')
0 files changed, 0 insertions, 0 deletions