mirror of https://github.com/tevador/RandomX
1. `cache->jit = new randomx::JitCompiler();` - succeeds 2. `cache->memory = (uint8_t*)randomx::LargePageAllocator::allocMemory(randomx::CacheSize);` - fails 3. `if (cache && cache->memory == nullptr) randomx_release_cache(cache);` is executed 4. randomx_release_cache checks `if (cache->memory != nullptr)` and does nothing 5. cache->jit stays allocatedpull/246/head
parent
85c527a623
commit
166e0d80f5
Loading…
Reference in new issue