OSDN Git Service
(root)
/
android-x86
/
external-efibootmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54879fe
)
Make a free non-conditional since the condition can't be ture.
author
Peter Jones
<pjones@redhat.com>
Wed, 10 Sep 2014 20:24:03 +0000
(16:24 -0400)
committer
Peter Jones
<pjones@redhat.com>
Wed, 10 Sep 2014 20:55:59 +0000
(16:55 -0400)
Covscan again. I wonder if it'll complain about this.
Signed-off-by: Peter Jones <pjones@redhat.com>
src/efibootmgr/efibootmgr.c
patch
|
blob
|
history
diff --git
a/src/efibootmgr/efibootmgr.c
b/src/efibootmgr/efibootmgr.c
index
31807a9
..
f9c25e0
100644
(file)
--- a/
src/efibootmgr/efibootmgr.c
+++ b/
src/efibootmgr/efibootmgr.c
@@
-463,8
+463,7
@@
read_boot_u16(const char *name)
}
rc = data[0];
- if (data != NULL)
- free(data);
+ free(data);
return rc;
}