summaryrefslogtreecommitdiff
path: root/fipstest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fipstest.cpp')
-rw-r--r--fipstest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fipstest.cpp b/fipstest.cpp
index 5486e3b..c225619 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;
}