readelf: Avoid leaking ELF descriptors for archive entries.
CID: 1292494 MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
388586bcd8
commit
c37c6b38b6
@ -7256,6 +7256,7 @@ dump_ar(struct readelf *re, int fd)
|
||||
}
|
||||
printf("Binary %s(%s) contains:\n",
|
||||
re->filename, arhdr->ar_name);
|
||||
elf_end(e);
|
||||
}
|
||||
printf("\t%s\n", arsym[i].as_name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user