HomeFreeBSD

getnetid(..): consistently fclose fd at the end of the function

Description

getnetid(..): consistently fclose fd at the end of the function

This mutes a false positive with cppcheck, but also helps eliminate future
potential issues with this variable

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS300386: Don't leak `handle` if svc_tp_create(..) succeeds and allocating a new
Branches
Unknown
Tags
Unknown