mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTVDM]
Don't set all the bits in the bitmap in XmsAlloc. svn path=/trunk/; revision=67572
This commit is contained in:
parent
3f81100a8b
commit
64dcdf9208
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ static CHAR XmsAlloc(WORD Size, PWORD Handle)
|
|||
HandleEntry->Address = XMS_ADDRESS + RunStart * XMS_BLOCK_SIZE;
|
||||
|
||||
FreeBlocks -= Size;
|
||||
RtlSetBits(&AllocBitmap, RunStart, RunSize);
|
||||
RtlSetBits(&AllocBitmap, RunStart, HandleEntry->Size);
|
||||
|
||||
return XMS_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue