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
/
bfdio.c
diff --git
a/bfd/bfdio.c
b/bfd/bfdio.c
index 0133b76064a6f6c94f4763989799c154e01e756c..5ef3ec493ea5f11665a929d51c23424bd2e31b83 100644
(file)
--- a/
bfd/bfdio.c
+++ b/
bfd/bfdio.c
@@
-662,8
+662,7
@@
memory_bclose (struct bfd *abfd)
{
struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream;
- if (bim->buffer != NULL)
- free (bim->buffer);
+ free (bim->buffer);
free (bim);
abfd->iostream = NULL;
This page took
0.026649 seconds
and
4
git commands to generate.