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
e647eb1bb0
commit
b2d64c4e8f
@ -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