aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ft32.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-ft32.c')
-rw-r--r--bfd/elf32-ft32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bfd/elf32-ft32.c b/bfd/elf32-ft32.c
index 4a3120b..78457d5 100644
--- a/bfd/elf32-ft32.c
+++ b/bfd/elf32-ft32.c
@@ -1230,15 +1230,13 @@ ft32_elf_relax_section
}
- if (internal_relocs != NULL
- && elf_section_data (sec)->relocs != internal_relocs)
+ if (elf_section_data (sec)->relocs != internal_relocs)
free (internal_relocs);
return TRUE;
error_return:
- if (free_relocs != NULL)
- free (free_relocs);
+ free (free_relocs);
return TRUE;
}