forked from mirrors/nixpkgs
22 lines
528 B
Diff
22 lines
528 B
Diff
|
http://git.savannah.gnu.org/cgit/findutils.git/patch/?id=c1556892a
|
||
|
diff --git a/find/fstype.c b/find/fstype.c
|
||
|
index 535f920..a0ac8bc 100644
|
||
|
--- a/find/fstype.c
|
||
|
+++ b/find/fstype.c
|
||
|
@@ -75,14 +75,7 @@ free_file_system_list (struct mount_entry *p)
|
||
|
while (p)
|
||
|
{
|
||
|
struct mount_entry *pnext = p->me_next;
|
||
|
-
|
||
|
- free (p->me_devname);
|
||
|
- free (p->me_mountdir);
|
||
|
-
|
||
|
- if (p->me_type_malloced)
|
||
|
- free (p->me_type);
|
||
|
- p->me_next = NULL;
|
||
|
- free (p);
|
||
|
+ free_mount_entry (p);
|
||
|
p = pnext;
|
||
|
}
|
||
|
}
|