mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
524de86db0
Using the upstream patch directly. It's copied in nixpkgs, because: - fetchpatch isn't usable at this point in bootstrapping, - the upstream patch creates collisions in NEWS.
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;
|
|
}
|
|
}
|