mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Use MmFreeContiguousMemorySpecifyCache to free memory allocated by MmAllocateContiguousMemorySpecifyCache in HalAllocateCommonBuffer
svn path=/trunk/; revision=41248
This commit is contained in:
@@ -903,7 +903,9 @@ HalFreeCommonBuffer(
|
||||
PVOID VirtualAddress,
|
||||
BOOLEAN CacheEnabled)
|
||||
{
|
||||
MmFreeContiguousMemory(VirtualAddress);
|
||||
MmFreeContiguousMemorySpecifyCache(VirtualAddress,
|
||||
Length,
|
||||
CacheEnabled ? MmCached : MmNonCached);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user