Fix an illegal call to free() when copying a PE format file.
authorNick Clifton <nickc@redhat.com>
Fri, 24 Jan 2020 13:19:48 +0000 (13:19 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 24 Jan 2020 13:19:48 +0000 (13:19 +0000)
commitcaa31cfad6c16ffbd5c396f74273fc9e413906f0
tree613e2d3d1b4136fb1e99d145d7f3575159e7f361
parent42cd72aa0279520384327a1f6d0ebd2eb2200645
Fix an illegal call to free() when copying a PE format file.

PR 25447
* coffgen.c (_bfd_coff_close_and_cleanup): Do not clear the keep
syms and keep strings flags as these may have been set in order to
prevent a bogus call to free.
bfd/ChangeLog
bfd/coffgen.c