HomeFreeBSD

revoke_perm: don't leak fd at the end of the test; close it

Description

revoke_perm: don't leak fd at the end of the test; close it

This code is unused on FreeBSD, but it mutes a valid Coverity warning
which would be true on NetBSD

MFC after: 3 days
Reported by: Coverity
CID: 978311

Details

Provenance
ngieAuthored on
Parents
rS311271: stat_symlink: don't leak fd; close the file descriptor when done
Branches
Unknown
Tags
Unknown