mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
Merge pull request #3695
b1a9e97b
slow-hash: fix memory leak for Windows /karbowanec#41 (aivve)
This commit is contained in:
commit
26cae8f4f1
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ void slow_hash_free_state(void)
|
|||
else
|
||||
{
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
VirtualFree(hp_state, MEMORY, MEM_RELEASE);
|
||||
VirtualFree(hp_state, 0, MEM_RELEASE);
|
||||
#else
|
||||
munmap(hp_state, MEMORY);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue