From 048ae3483e3ed87f390d42e420c021e6b2fe85fe Mon Sep 17 00:00:00 2001 From: landley Date: Mon, 8 May 2006 19:03:07 +0000 Subject: 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. git-svn-id: svn://busybox.net/trunk/busybox@15037 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- util-linux/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') 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; #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); -- cgit v1.2.3-55-g6feb