diff options
author | Aaron Lehmann <aaronl@vitelius.com> | 2002-11-28 11:27:31 +0000 |
---|---|---|
committer | Aaron Lehmann <aaronl@vitelius.com> | 2002-11-28 11:27:31 +0000 |
commit | a170e1c858d35c474ceb9fecb41b37d681424094 (patch) | |
tree | cda2b13f10ca1ab0a3559d4b6ff663ed20d7106c /util-linux/umount.c | |
parent | 1652855fbc830f41c7ee56ece1a30b328c4fb395 (diff) | |
download | busybox-w32-a170e1c858d35c474ceb9fecb41b37d681424094.tar.gz busybox-w32-a170e1c858d35c474ceb9fecb41b37d681424094.tar.bz2 busybox-w32-a170e1c858d35c474ceb9fecb41b37d681424094.zip |
Change if(x)free(x); to free(x);
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r-- | util-linux/umount.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index 29e2e3b66..391d245a8 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -158,10 +158,8 @@ static void mtab_free(void) | |||
158 | this = mtab_cache; | 158 | this = mtab_cache; |
159 | while (this) { | 159 | while (this) { |
160 | next = this->next; | 160 | next = this->next; |
161 | if (this->device) | 161 | free(this->device); |
162 | free(this->device); | 162 | free(this->mountpt); |
163 | if (this->mountpt) | ||
164 | free(this->mountpt); | ||
165 | free(this); | 163 | free(this); |
166 | this = next; | 164 | this = next; |
167 | } | 165 | } |