aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src/Module.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-01-01 22:52:06 +1030
committerAlan Modra <amodra@gmail.com>2025-01-01 22:52:06 +1030
commit4739b9137e1fe1cfaf2e0de6924c122035942b26 (patch)
tree25ade2d868896b772fc4c80f32bb7a8285cc9a4a /gprofng/src/Module.h
parentd58fbef40d70057b83d3773aa409b402236a7e62 (diff)
downloadbinutils-4739b9137e1fe1cfaf2e0de6924c122035942b26.zip
binutils-4739b9137e1fe1cfaf2e0de6924c122035942b26.tar.gz
binutils-4739b9137e1fe1cfaf2e0de6924c122035942b26.tar.bz2
Close elements of output archive
When cleaning up an archive, close all its elements. This fixes a number of ar memory leaks. bfd/ * archive.c (_bfd_archive_close_and_cleanup): Close elements of an archive open for writing. binutils/ * objcopy.c (copy_archive): Don't close output archive elements here. * dlltool.c (gen_lib_file): Likewise. ld/ * pe-dll.c (pe_dll_generate_implib): Don't close output archive elements here.
Diffstat (limited to 'gprofng/src/Module.h')
0 files changed, 0 insertions, 0 deletions