anv: Check file descriptor before closing.
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
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