mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
- Fixed the releasing of the memory from the init section.
svn path=/trunk/; revision=12685
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: mminit.c,v 1.71 2004/10/22 20:38:22 ekohl Exp $
|
||||
/* $Id$
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -482,7 +482,7 @@ MiFreeInitMemory(VOID)
|
||||
MmLockAddressSpace(MmGetKernelAddressSpace());
|
||||
MmFreeMemoryArea(MmGetKernelAddressSpace(),
|
||||
(PVOID)&_init_start__,
|
||||
PAGE_ROUND_UP((ULONG)&_init_end__) - (ULONG)_init_start__,
|
||||
PAGE_ROUND_UP((ULONG)&_init_end__) - (ULONG)&_init_start__,
|
||||
MiFreeInitMemoryPage,
|
||||
NULL);
|
||||
MmUnlockAddressSpace(MmGetKernelAddressSpace());
|
||||
|
||||
Reference in New Issue
Block a user