Move RandowWOW to new global algorithm.
This commit is contained in:
parent
cf61f49746
commit
f7f2c09e89
8 changed files with 54 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue