HomeFreeBSD

Call closedir() before returning from fetchListFile() to avoid a leak.

Description

Call closedir() before returning from fetchListFile() to avoid a leak.

Reported by: Coverity
CID: 1016697
MFC after: 1 week

Details

Provenance
truckmanAuthored on
Parents
rS300665: Don't leak addrinfo in fetch_bind()
Branches
Unknown
Tags
Unknown