Move RandowWOW to new global algorithm.

This commit is contained in:
XMRig
2019-06-25 08:21:40 +07:00
parent 5aca3c38e6
commit ee6043ac2f
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) {