Fixed crash.

This commit is contained in:
XMRig 2019-10-08 08:50:33 +07:00
parent 9dce868fb9
commit d3b137c817

View file

@ -86,8 +86,7 @@ xmrig::VirtualMemory::~VirtualMemory()
std::lock_guard<std::mutex> lock(mutex);
pool->release(m_node);
}
if (isHugePages()) {
else if (isHugePages()) {
freeLargePagesMemory();
}
else {