mirror of
https://github.com/monero-project/monero.git
synced 2025-08-09 08:52:20 -04:00
Merge pull request #3002
9996d5e9
wallet2: guard against the dameon sending blocks before last checkpoint (moneromooo-monero)eadaa6aa
wallet_rpc_server: fix wallet leak on error exit (moneromooo-monero)
This commit is contained in:
commit
990389f09d
2 changed files with 7 additions and 0 deletions
|
@ -89,6 +89,8 @@ namespace tools
|
|||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
wallet_rpc_server::~wallet_rpc_server()
|
||||
{
|
||||
if (m_wallet)
|
||||
delete m_wallet;
|
||||
}
|
||||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
void wallet_rpc_server::set_wallet(wallet2 *cr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue