mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-29 15:42:03 +02:00
Merge pull request #825 from sipa/fix_822
Fix #822: use free instead of delete
This commit is contained in:
@@ -1561,7 +1561,7 @@ void ThreadCleanWalletPassphrase(void* parg)
|
||||
if (nWalletUnlockTime < nMyWakeTime)
|
||||
nWalletUnlockTime = nMyWakeTime;
|
||||
}
|
||||
free(parg);
|
||||
delete (int*)parg;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user