mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[NTOSKRNL]
Fix indentation in MmFreeMemoryArea and add a DPRINT in MmCreateMemoryArea svn path=/trunk/; revision=61660
This commit is contained in:
parent
6ea50da3a2
commit
1992b71c5c
1 changed files with 8 additions and 4 deletions
|
@ -1058,7 +1058,11 @@ MmCreateMemoryArea(PMMSUPPORT AddressSpace,
|
||||||
TAG_MAREA);
|
TAG_MAREA);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!MemoryArea) return STATUS_NO_MEMORY;
|
if (!MemoryArea)
|
||||||
|
{
|
||||||
|
DPRINT1("Not enough memory.\n");
|
||||||
|
return STATUS_NO_MEMORY;
|
||||||
|
}
|
||||||
|
|
||||||
RtlZeroMemory(MemoryArea, sizeof(MEMORY_AREA));
|
RtlZeroMemory(MemoryArea, sizeof(MEMORY_AREA));
|
||||||
MemoryArea->Type = Type;
|
MemoryArea->Type = Type;
|
||||||
|
|
Loading…
Reference in a new issue