summaryrefslogtreecommitdiff
path: root/sutils
diff options
context:
space:
mode:
Diffstat (limited to 'sutils')
-rw-r--r--sutils/fstab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sutils/fstab.c b/sutils/fstab.c
index 2e125d8d..9748ae9b 100644
--- a/sutils/fstab.c
+++ b/sutils/fstab.c
@@ -617,7 +617,7 @@ fstab_add_mntent (struct fstab *const fstab, const struct mntent *mntent,
{
if (! err)
_fstab_add (fstab, fs);
- else if (fs)
+ else
free (fs);
}