mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user