From a6b5b60942b4e28965f10cb107d4f94aaf756bc1 Mon Sep 17 00:00:00 2001 From: Rob 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. --- util-linux/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/mount.c') 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