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; }