mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
- Fix inversed failure logic in MmAllocatePagesForMdl.
See issue #4009 for more details. svn path=/trunk/; revision=38661
This commit is contained in:
@@ -599,7 +599,7 @@ MmAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
|
||||
}
|
||||
|
||||
/* If nothing was allocated, fail */
|
||||
if (NumberOfPagesAllocated)
|
||||
if (NumberOfPagesWanted)
|
||||
{
|
||||
/* Free our MDL */
|
||||
ExFreePool(Mdl);
|
||||
|
||||
Reference in New Issue
Block a user