mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 16:11:42 +00:00
[NTOSKRNL]
- Gracefully fail when there is no more pool space left - Mm already prints plenty of warnings in this case svn path=/trunk/; revision=54577
This commit is contained in:
parent
621c5a5680
commit
a4479b14cd
1 changed files with 3 additions and 1 deletions
|
@ -686,7 +686,9 @@ ExAllocatePoolWithTag(IN POOL_TYPE PoolType,
|
|||
// There were no free entries left, so we have to allocate a new fresh page
|
||||
//
|
||||
Entry = MiAllocatePoolPages(PoolType, PAGE_SIZE);
|
||||
ASSERT(Entry != NULL);
|
||||
if (Entry == NULL)
|
||||
return NULL;
|
||||
|
||||
Entry->Ulong1 = 0;
|
||||
Entry->BlockSize = i;
|
||||
Entry->PoolType = PoolType + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue