summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/du.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/du.c b/src/du.c
index 1aa5a1675..a6fa16b29 100644
--- a/src/du.c
+++ b/src/du.c
@@ -670,12 +670,7 @@ fill_mount_table (void)
mnt_free = mnt_ent;
mnt_ent = mnt_ent->me_next;
-
- free (mnt_free->me_devname);
- free (mnt_free->me_mountdir);
- if (mnt_free->me_type_malloced)
- free (mnt_free->me_type);
- free (mnt_free);
+ free_mount_entry (mnt_free);
}
}