HomeFreeBSD

readelf: Fix a double close of the input file.

Description

readelf: Fix a double close of the input file.

The caller of dump_object() is responsible for opening the file, let it
be responsible for closing too.

CID: 1411588
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on
Parents
rS357539: size: Avoid returning a stack pointer from xlatetom().
Branches
Unknown
Tags
Unknown