vms write_archive memory leaks
authorAlan Modra <amodra@gmail.com>
Thu, 15 Jun 2023 00:32:31 +0000 (10:02 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Jun 2023 00:41:56 +0000 (10:11 +0930)
commit6a28a3c20044db82f86aad208497e2c8f6557f93
treedd4f85579df668aa3b2d3b7d38d782f7489ea9df
parent87642f631119652ed57ccbdf7cfbfcf518b315a1
vms write_archive memory leaks

This fixes two memory leaks in the vms archive handling.

* vms-lib.c (_bfd_vms_lib_build_map): Free input symbols.
(_bfd_vms_lib_write_archive_contents): Free archive map symbols.
bfd/vms-lib.c