- Fixed the releasing of the memory from the init section.
Modified: trunk/reactos/ntoskrnl/mm/mminit.c
_____
Modified: trunk/reactos/ntoskrnl/mm/mminit.c
--- trunk/reactos/ntoskrnl/mm/mminit.c 2005-01-01 10:57:39 UTC (rev
12684)
+++ trunk/reactos/ntoskrnl/mm/mminit.c 2005-01-01 10:59:31 UTC (rev
12685)
@@ -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 @@
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());
Show replies by date