Now calls vm_free_kernel_args().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9458 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-10-23 13:53:13 +00:00
parent 25c4f39f68
commit 842b03d549

View File

@ -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();