mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 16:52:40 -05:00
Fixed memory allocation checks.
This commit is contained in:
@@ -88,7 +88,7 @@ xmrig::RxDataset::~RxDataset()
|
||||
|
||||
bool xmrig::RxDataset::init(const Buffer &seed, uint32_t numThreads, int priority)
|
||||
{
|
||||
if (!m_cache) {
|
||||
if (!m_cache || !m_cache->get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user