Fixed crash.
This commit is contained in:
parent
9dce868fb9
commit
d3b137c817
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue