mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
blockchain: fix cryptonight buffer leak on exit
This commit is contained in:
parent
91aa90fc79
commit
d8becf2ee1
1 changed files with 1 additions and 1 deletions
|
@ -3549,7 +3549,7 @@ void Blockchain::block_longhash_worker(uint64_t height, const std::vector<block>
|
|||
for (const auto & block : blocks)
|
||||
{
|
||||
if (m_cancel)
|
||||
return;
|
||||
break;
|
||||
crypto::hash id = get_block_hash(block);
|
||||
crypto::hash pow = get_block_longhash(block, height++);
|
||||
map.emplace(id, pow);
|
||||
|
|
Loading…
Reference in a new issue