summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorRob Landley2006-05-08 19:03:07 +0000
committerRob Landley2006-05-08 19:03:07 +0000
commita6b5b60942b4e28965f10cb107d4f94aaf756bc1 (patch)
treee97daaa61ca25179f9cfd9251446d00521bb5ddb /util-linux
parent712ba85b30426bc8fa093c21ae9a5d0018450cc7 (diff)
downloadbusybox-a6b5b60942b4e28965f10cb107d4f94aaf756bc1.zip
busybox-a6b5b60942b4e28965f10cb107d4f94aaf756bc1.tar.gz
Fiddling with llist to make memory management easier. Specifically, the
option to delete the contents of the list when we delete the list is a good thing.
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 61ceba8..4bd6433 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -182,7 +182,7 @@ llist_t *fslist = 0;
#if ENABLE_FEATURE_CLEAN_UP
static void delete_block_backed_filesystems(void)
{
- llist_free(fslist);
+ llist_free(fslist, free);
}
#else
void delete_block_backed_filesystems(void);