aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-28 19:19:19 +0000
committerRob Landley <rob@landley.net>2006-03-28 19:19:19 +0000
commit92fff34de606c56a2011140d1915d507820a2f9d (patch)
treea1a6f080b44218255bcf7b89cf852a40e4a8e751
parentf0305b7f75714936f87a30cd9c113709a7328446 (diff)
downloadbusybox-92fff34de606c56a2011140d1915d507820a2f9d.tar.gz
Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocate
it.
-rw-r--r--util-linux/mount.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index f0b4d3831..1b6ff965b 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -548,7 +548,6 @@ clean_up:
if (ENABLE_FEATURE_CLEAN_UP) {
free(storage_path);
free(cmdopts);
- free(fstype);
}
if(rc)