PR26069, strip/objcopy memory leaks
authorAlan Modra <amodra@gmail.com>
Wed, 3 Jun 2020 07:25:39 +0000 (16:55 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 3 Jun 2020 08:29:44 +0000 (17:59 +0930)
commit4a32244804f942a54960039c7968b1df2a177b4d
tree8262708c62d4ad388f33a14df32a88a20900187a
parent0ed18fa177858d67fec42babbca3fef4ae1d939f
PR26069, strip/objcopy memory leaks

PR 26069
* objcopy.c (copy_relocations_in_section): Free relpp on error.
Don't accidentally free isection->orelocation.
binutils/ChangeLog
binutils/objcopy.c