Skip to content

anv: Check file descriptor before closing.

Vinson Lee requested to merge vlee/mesa:fix-cid-1465563 into master

Fix defect reported by Coverity Scan.

Argument cannot be negative (NEGATIVE_RETURNS) negative_returns: fd is passed to a parameter that cannot be negative

Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports