Fixed memory allocation checks.
This commit is contained in:
parent
ecb46643e2
commit
22eca8e0d5
9 changed files with 72 additions and 21 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue