OSDN Git Service
(root)
/
android-x86
/
external-busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change if(x)free(x); to free(x);
[android-x86/external-busybox.git]
/
util-linux
/
umount.c
diff --git
a/util-linux/umount.c
b/util-linux/umount.c
index
29e2e3b
..
391d245
100644
(file)
--- a/
util-linux/umount.c
+++ b/
util-linux/umount.c
@@
-158,10
+158,8
@@
static void mtab_free(void)
this = mtab_cache;
while (this) {
next = this->next;
- if (this->device)
- free(this->device);
- if (this->mountpt)
- free(this->mountpt);
+ free(this->device);
+ free(this->mountpt);
free(this);
this = next;
}