- Use MmFreeContiguousMemorySpecifyCache to free memory allocated by MmAllocateContiguousMemorySpecifyCache in HalAllocateCommonBuffer

svn path=/trunk/; revision=41248
This commit is contained in:
Cameron Gutman 2009-06-02 01:30:52 +00:00
parent 6530a6856e
commit e4a0b00377

View file

@ -903,7 +903,9 @@ HalFreeCommonBuffer(
PVOID VirtualAddress,
BOOLEAN CacheEnabled)
{
MmFreeContiguousMemory(VirtualAddress);
MmFreeContiguousMemorySpecifyCache(VirtualAddress,
Length,
CacheEnabled ? MmCached : MmNonCached);
}
/**