Move RandowWOW to new global algorithm.

This commit is contained in:
XMRig 2019-06-25 08:21:40 +07:00
parent cf61f49746
commit f7f2c09e89
8 changed files with 54 additions and 11 deletions

View file

@ -68,6 +68,10 @@ MemInfo Mem::create(cryptonight_ctx **ctx, xmrig::Algo algorithm, size_t count)
void Mem::release(cryptonight_ctx **ctx, size_t count, MemInfo &info)
{
if (info.memory == nullptr) {
return;
}
release(info);
for (size_t i = 0; i < count; ++i) {