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;
} }