mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 18:47:36 -07:00
blockchain: don't leave dangling pointers in this
This commit is contained in:
parent
8e60b81c48
commit
b1634aa3e8
@ -490,7 +490,9 @@ bool Blockchain::deinit()
|
||||
}
|
||||
|
||||
delete m_hardfork;
|
||||
m_hardfork = NULL;
|
||||
delete m_db;
|
||||
m_db = NULL;
|
||||
return true;
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user