diff options
author | Rob Landley <rob@landley.net> | 2006-05-08 19:03:07 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-05-08 19:03:07 +0000 |
commit | a6b5b60942b4e28965f10cb107d4f94aaf756bc1 (patch) | |
tree | e97daaa61ca25179f9cfd9251446d00521bb5ddb /util-linux/mount.c | |
parent | 712ba85b30426bc8fa093c21ae9a5d0018450cc7 (diff) | |
download | busybox-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.c | 2 |
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 |
183 | static void delete_block_backed_filesystems(void) | 183 | static void delete_block_backed_filesystems(void) |
184 | { | 184 | { |
185 | llist_free(fslist); | 185 | llist_free(fslist, free); |
186 | } | 186 | } |
187 | #else | 187 | #else |
188 | void delete_block_backed_filesystems(void); | 188 | void delete_block_backed_filesystems(void); |