From b3843db7431e2b66da9cc236da02c087a9a1723e Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 10 Jun 2003 00:19:06 +0000 Subject: release memory from working set after EDC test --- fipstest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'fipstest.cpp') diff --git a/fipstest.cpp b/fipstest.cpp index 5486e3b6..c2256193 100644 --- a/fipstest.cpp +++ b/fipstest.cpp @@ -264,6 +264,7 @@ void DoPowerUpSelfTest(const char *moduleFilename, const byte *expectedModuleSha } file.TransferTo(verifier, fileStart - currentFilePos); verifier.Put(memStart, sectionSize); + ::VirtualUnlock((LPVOID)memStart, sectionSize); // release the memory from working set file.Skip(sectionSize); currentFilePos = fileStart + sectionSize; } -- cgit v1.2.1