Fix a use-after-freed error introduced by previous attempt to fix a Coverity scan...
authorNick Clifton <nickc@redhat.com>
Thu, 13 Sep 2018 15:14:36 +0000 (16:14 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 13 Sep 2018 15:14:36 +0000 (16:14 +0100)
commit508d0c9b5945d30bcf163b9b88213d277949e9a8
tree89b1eeab83b6978cd84e9df13959a59b8d05c428
parent5be12fc1ad9e47e82bd8902ad6a1f71946c58805
Fix a use-after-freed error introduced by previous attempt to fix a Coverity scan result.

PR 23633
* objcopy.c (add_specific_symbols): Do not free the buffer at the
end of the function.
binutils/ChangeLog
binutils/objcopy.c