mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
- Fix inversed failure logic in MmAllocatePagesForMdl.
See issue #4009 for more details. svn path=/trunk/; revision=38661
This commit is contained in:
parent
fd83003c9d
commit
d7523459e7
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ MmAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
|
|||
}
|
||||
|
||||
/* If nothing was allocated, fail */
|
||||
if (NumberOfPagesAllocated)
|
||||
if (NumberOfPagesWanted)
|
||||
{
|
||||
/* Free our MDL */
|
||||
ExFreePool(Mdl);
|
||||
|
|
Loading…
Reference in a new issue