X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felf64-mips.c;h=a07c39f1fd13df86314540945c8998c7bd8a8e91;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=413018fcf3e35b041c3a6b408935a92d61d807e9;hpb=2bb3687ba8720558082d1575823868286d7916b5;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index 413018fcf3..a07c39f1fd 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -4162,14 +4162,11 @@ mips_elf64_slurp_one_reloc_table (bfd *abfd, asection *asect, } } - if (allocated != NULL) - free (allocated); - + free (allocated); return TRUE; error_return: - if (allocated != NULL) - free (allocated); + free (allocated); return FALSE; }