0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-10 10:52:31 -05:00

Merge pull request #825 from sipa/fix_822

Fix #822: use free instead of delete
This commit is contained in:
Gavin Andresen 2012-02-11 09:12:00 -08:00
commit b25474d1be

View file

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