diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-11 15:25:42 +0100 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-02-11 20:50:43 -0500 |
commit | 76e707a44e280e2b0e6df776d16a86df1002ff3b (patch) | |
tree | 8bc4e4da38dfe4a594c74890f4215c9c9ace8c8f | |
parent | 4664aae3fe2eba4eec84d20f1e7e701ceeeb49bd (diff) |
Fix #822
-rw-r--r-- | src/rpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc.cpp b/src/rpc.cpp index a67f7fc947..33108948d3 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1301,7 +1301,7 @@ void ThreadCleanWalletPassphrase(void* parg) if (nWalletUnlockTime < nMyWakeTime) nWalletUnlockTime = nMyWakeTime; } - free(parg); + delete (int*)parg; return; } |