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:
commit
b25474d1be
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue