diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-11 15:25:42 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-11 15:25:42 +0100 |
commit | 402deef944acc0bb1d063076c53be684446f9085 (patch) | |
tree | 4ce67fbaf3a3e6c85532ba24553d07293c3b4aa6 | |
parent | 26d9e2c19dc209ba5616e9fca9f521dd7ed94e81 (diff) | |
download | bitcoin-402deef944acc0bb1d063076c53be684446f9085.tar.xz |
Fix #822
-rw-r--r-- | src/bitcoinrpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 7fe8f21682..5d38f042f9 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1561,7 +1561,7 @@ void ThreadCleanWalletPassphrase(void* parg) if (nWalletUnlockTime < nMyWakeTime) nWalletUnlockTime = nMyWakeTime; } - free(parg); + delete (int*)parg; return; } |