mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 12:23:41 +00:00
[NTOSKRNL:MM]
Only warn for unimplemented in ExAllocatePoolWithTagPriority() when memory allocation fails. For the rest, the caller has the memory it asked for. Side note: we could also warn when caller wants to use special pool. CORE-13334 CORE-11327 svn path=/trunk/; revision=74688
This commit is contained in:
parent
7bb4b752e1
commit
f61c6e1fbd
1 changed files with 9 additions and 2 deletions
|
@ -2589,11 +2589,18 @@ ExAllocatePoolWithTagPriority(IN POOL_TYPE PoolType,
|
|||
IN ULONG Tag,
|
||||
IN EX_POOL_PRIORITY Priority)
|
||||
{
|
||||
PVOID Buffer;
|
||||
|
||||
//
|
||||
// Allocate the pool
|
||||
//
|
||||
UNIMPLEMENTED;
|
||||
return ExAllocatePoolWithTag(PoolType, NumberOfBytes, Tag);
|
||||
Buffer = ExAllocatePoolWithTag(PoolType, NumberOfBytes, Tag);
|
||||
if (Buffer == NULL)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
return Buffer;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue