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
/
elf64-sparc.c
diff --git
a/bfd/elf64-sparc.c
b/bfd/elf64-sparc.c
index f07c06222ad6d902f15cf0c83601795decc3dba1..8d352252b63aba8278f8764f5e4d746e1edf5b5e 100644
(file)
--- a/
bfd/elf64-sparc.c
+++ b/
bfd/elf64-sparc.c
@@
-161,14
+161,11
@@
elf64_sparc_slurp_one_reloc_table (bfd *abfd, asection *asect,
canon_reloc_count (asect) += relent - relents;
- if (allocated != NULL)
- free (allocated);
-
+ free (allocated);
return TRUE;
error_return:
- if (allocated != NULL)
- free (allocated);
+ free (allocated);
return FALSE;
}
This page took
0.024646 seconds
and
4
git commands to generate.