mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:11:42 +00:00
- Use MmFreeContiguousMemorySpecifyCache to free memory allocated by MmAllocateContiguousMemorySpecifyCache in HalAllocateCommonBuffer
svn path=/trunk/; revision=41248
This commit is contained in:
parent
6530a6856e
commit
e4a0b00377
1 changed files with 3 additions and 1 deletions
|
@ -903,7 +903,9 @@ HalFreeCommonBuffer(
|
|||
PVOID VirtualAddress,
|
||||
BOOLEAN CacheEnabled)
|
||||
{
|
||||
MmFreeContiguousMemory(VirtualAddress);
|
||||
MmFreeContiguousMemorySpecifyCache(VirtualAddress,
|
||||
Length,
|
||||
CacheEnabled ? MmCached : MmNonCached);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue