diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-04-28 16:59:02 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-04-28 16:59:02 +0200 |
commit | 26cae8f4f150594b6c14fe56be08365dae1b1c50 (patch) | |
tree | f1efd26f6eb4d044e6e86c9c351b05e0a934f091 | |
parent | Merge pull request #3692 (diff) | |
parent | slow-hash: fix memory leak for Windows /karbowanec#41 (diff) | |
download | monero-26cae8f4f150594b6c14fe56be08365dae1b1c50.tar.xz |
Merge pull request #3695
b1a9e97b slow-hash: fix memory leak for Windows /karbowanec#41 (aivve)
-rw-r--r-- | src/crypto/slow-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index d7dcbd274..35e98f2f5 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -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 |