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:
@@ -156,6 +156,11 @@ main2(void *unused)
|
|||||||
TRACE(("Init modules\n"));
|
TRACE(("Init modules\n"));
|
||||||
module_init(&ka);
|
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 */
|
/* bootstrap all the filesystems */
|
||||||
TRACE(("Bootstrap file systems\n"));
|
TRACE(("Bootstrap file systems\n"));
|
||||||
vfs_bootstrap_file_systems();
|
vfs_bootstrap_file_systems();
|
||||||
|
|||||||
Reference in New Issue
Block a user