mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 18:53:23 -03:00
Merge pull request #825 from sipa/fix_822
Fix #822: use free instead of delete
This commit is contained in:
commit
b25474d1be
1 changed files with 1 additions and 1 deletions
|
@ -1561,7 +1561,7 @@ void ThreadCleanWalletPassphrase(void* parg)
|
|||
if (nWalletUnlockTime < nMyWakeTime)
|
||||
nWalletUnlockTime = nMyWakeTime;
|
||||
}
|
||||
free(parg);
|
||||
delete (int*)parg;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue