Fix thinko in objcopy's memory freeing code.
authorFrederic Cambus <fred@statdns.com>
Tue, 26 Jan 2021 09:55:34 +0000 (09:55 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 26 Jan 2021 09:55:34 +0000 (09:55 +0000)
commite37709f0901fe6f2410094151002bab3d123df85
treed88a26c223c0e962fb46a6cfda6fc158361dba16
parentd56834cbfb7c14b2ad723c75cc56db2de3c0f0e7
Fix thinko in objcopy's memory freeing code.

* objcopy.c (copy_main): Fix a double free happening when both
--localize-symbols and --globalize-symbols options are invoked
together.
binutils/ChangeLog
binutils/objcopy.c