mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +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 nothing was allocated, fail */
|
||||||
if (NumberOfPagesAllocated)
|
if (NumberOfPagesWanted)
|
||||||
{
|
{
|
||||||
/* Free our MDL */
|
/* Free our MDL */
|
||||||
ExFreePool(Mdl);
|
ExFreePool(Mdl);
|
||||||
|
|
Loading…
Reference in a new issue