aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-02-11 15:25:42 +0100
committerLuke Dashjr <luke-jr+git@utopios.org>2012-02-11 20:50:43 -0500
commit76e707a44e280e2b0e6df776d16a86df1002ff3b (patch)
tree8bc4e4da38dfe4a594c74890f4215c9c9ace8c8f
parent4664aae3fe2eba4eec84d20f1e7e701ceeeb49bd (diff)
Fix #822
-rw-r--r--src/rpc.cpp2
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;
}