mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +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…
Reference in a new issue