summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-05-08 19:03:07 +0000
committerRob Landley <rob@landley.net>2006-05-08 19:03:07 +0000
commita6b5b60942b4e28965f10cb107d4f94aaf756bc1 (patch)
treee97daaa61ca25179f9cfd9251446d00521bb5ddb /util-linux/mount.c
parent712ba85b30426bc8fa093c21ae9a5d0018450cc7 (diff)
downloadbusybox-w32-a6b5b60942b4e28965f10cb107d4f94aaf756bc1.tar.gz
busybox-w32-a6b5b60942b4e28965f10cb107d4f94aaf756bc1.tar.bz2
busybox-w32-a6b5b60942b4e28965f10cb107d4f94aaf756bc1.zip
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/mount.c')
-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 61ceba829..4bd6433ca 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -182,7 +182,7 @@ llist_t *fslist = 0;
182#if ENABLE_FEATURE_CLEAN_UP 182#if ENABLE_FEATURE_CLEAN_UP
183static void delete_block_backed_filesystems(void) 183static void delete_block_backed_filesystems(void)
184{ 184{
185 llist_free(fslist); 185 llist_free(fslist, free);
186} 186}
187#else 187#else
188void delete_block_backed_filesystems(void); 188void delete_block_backed_filesystems(void);