Merge pull request #825 from sipa/fix_822
Fix #822: use free instead of delete
This commit is contained in:
commit
b25474d1be
@ -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…
Reference in New Issue
Block a user