From 842b03d549424d54c5a9ad842f264b502c5b1ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 23 Oct 2004 13:53:13 +0000 Subject: [PATCH] Now calls vm_free_kernel_args(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9458 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/kernel/core/main.c b/src/kernel/core/main.c index f10bb64427..0198adc64b 100644 --- a/src/kernel/core/main.c +++ b/src/kernel/core/main.c @@ -156,6 +156,11 @@ main2(void *unused) TRACE(("Init modules\n")); module_init(&ka); + vm_free_kernel_args(&ka); + // module_init() is supposed to be the last user of the kernel args + // Note: don't confuse the kernel_args structure (which is never freed) + // with the kernel args ranges it contains (and which are freed here). + /* bootstrap all the filesystems */ TRACE(("Bootstrap file systems\n")); vfs_bootstrap_file_systems();