projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace "if (x) free (x)" with "free (x)", bfd
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-m68k.c
diff --git
a/bfd/elf32-m68k.c
b/bfd/elf32-m68k.c
index 5b9d420ded80fd8f044bb0fc53414b34ad40b2a7..868435a444252e7826c139adb096160ec29a331b 100644
(file)
--- a/
bfd/elf32-m68k.c
+++ b/
bfd/elf32-m68k.c
@@
-4448,18
+4448,16
@@
bfd_m68k_elf32_create_embedded_relocs (bfd *abfd, struct bfd_link_info *info,
strncpy ((char *) p + 4, targetsec->output_section->name, 8);
}
strncpy ((char *) p + 4, targetsec->output_section->name, 8);
}
- if (
isymbuf != NULL &&
symtab_hdr->contents != (unsigned char *) isymbuf)
+ if (symtab_hdr->contents != (unsigned char *) isymbuf)
free (isymbuf);
free (isymbuf);
- if (internal_relocs != NULL
- && elf_section_data (datasec)->relocs != internal_relocs)
+ if (elf_section_data (datasec)->relocs != internal_relocs)
free (internal_relocs);
return TRUE;
error_return:
free (internal_relocs);
return TRUE;
error_return:
- if (
isymbuf != NULL &&
symtab_hdr->contents != (unsigned char *) isymbuf)
+ if (symtab_hdr->contents != (unsigned char *) isymbuf)
free (isymbuf);
free (isymbuf);
- if (internal_relocs != NULL
- && elf_section_data (datasec)->relocs != internal_relocs)
+ if (elf_section_data (datasec)->relocs != internal_relocs)
free (internal_relocs);
return FALSE;
}
free (internal_relocs);
return FALSE;
}
This page took
0.023006 seconds
and
4
git commands to generate.