Browse Source

Merge pull request #825 from sipa/fix_822

Fix #822: use free instead of delete
0.8
Gavin Andresen 13 years ago
parent
commit
b25474d1be
  1. 2
      src/bitcoinrpc.cpp

2
src/bitcoinrpc.cpp

@ -1561,7 +1561,7 @@ void ThreadCleanWalletPassphrase(void* parg) @@ -1561,7 +1561,7 @@ void ThreadCleanWalletPassphrase(void* parg)
if (nWalletUnlockTime < nMyWakeTime)
nWalletUnlockTime = nMyWakeTime;
}
free(parg);
delete (int*)parg;
return;
}

Loading…
Cancel
Save