Files
RandomX/src
SChernykh 166e0d80f5 Fixed cache->jit memory leak
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 allocated
2022-05-24 14:22:16 +02:00
..
2021-05-22 13:54:50 +02:00
2021-11-16 03:05:28 +01:00
2019-10-06 18:07:23 +02:00
2019-10-06 18:07:23 +02:00
2019-10-06 18:07:23 +02:00
2019-07-03 18:13:20 +02:00
2019-07-03 18:13:20 +02:00
2019-07-03 18:13:20 +02:00
2019-07-03 18:13:20 +02:00
2019-06-22 15:54:43 +02:00
2019-09-22 21:06:22 +02:00
2019-06-22 15:54:43 +02:00
2019-06-23 23:10:29 +02:00
2019-06-10 16:02:25 +02:00
2022-05-24 14:22:16 +02:00
2019-06-29 18:53:49 +02:00
2019-06-22 15:54:43 +02:00
2019-06-29 18:53:49 +02:00
2019-09-22 21:06:22 +02:00
2019-06-22 15:54:43 +02:00
2019-06-22 15:54:43 +02:00