Replace "if (x) free (x)" with "free (x)", ld
authorAlan Modra <amodra@gmail.com>
Wed, 20 May 2020 13:20:49 +0000 (22:50 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 21 May 2020 01:15:33 +0000 (10:45 +0930)
commit5e2ab6125485bede5611187f2df4b26b04026b80
treef3884cb27e8761b535ee38e63ebee33c5cdbfea4
parent3d45296946ba5c0ff59c407029bee3f368cace00
Replace "if (x) free (x)" with "free (x)", ld

* deffilep.y: Replace "if (x) free (x)" with "free (x)" thoughout.
* emultempl/elf.em: Likewise.
* emultempl/msp430.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
* ldelf.c: Likewise.
* ldfile.c: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* lexsup.c: Likewise.
* pe-dll.c: Likewise.
14 files changed:
ld/ChangeLog
ld/deffilep.y
ld/emultempl/elf.em
ld/emultempl/msp430.em
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/emultempl/ppc64elf.em
ld/emultempl/xtensaelf.em
ld/ldelf.c
ld/ldfile.c
ld/ldmain.c
ld/ldmisc.c
ld/lexsup.c
ld/pe-dll.c