From aaa5b3b1d48fef91a755abcce63e651499cd2af7 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sat, 1 Jan 2005 10:59:31 +0000 Subject: [PATCH] - Fixed the releasing of the memory from the init section. svn path=/trunk/; revision=12685 --- reactos/ntoskrnl/mm/mminit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/mminit.c b/reactos/ntoskrnl/mm/mminit.c index 3d4610b7123..5e56757a166 100644 --- a/reactos/ntoskrnl/mm/mminit.c +++ b/reactos/ntoskrnl/mm/mminit.c @@ -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()); -- 2.17.1