summaryrefslogtreecommitdiffhomepage
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-06-20 11:04:04 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-06-20 11:04:04 +0200
commitecf25cb5bce27ca5820e2895d8458f38c406d105 (patch)
tree34f42ed988afce2b617de8a725dd80afe71740cc /util-linux
parent5c3e060604444b18303f55e631637c28d889704f (diff)
randomconfig fixes 5: false positive for tar; mount emits corrupted message
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index c76f6ef61..cef4f7415 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -2058,7 +2058,7 @@ static int singlemount(struct mntent *mp, int ignore_busy)
del_loop(mp->mnt_fsname);
if (ENABLE_FEATURE_CLEAN_UP) {
free(loopFile);
- free(mp->mnt_fsname);
+ /* No, "rc != 0" needs it: free(mp->mnt_fsname); */
}
}