mirror of
https://github.com/monero-project/monero.git
synced 2025-12-16 09:31:05 -08:00
blockchain: don't leave dangling pointers in this
This commit is contained in:
@@ -490,7 +490,9 @@ bool Blockchain::deinit()
|
||||
}
|
||||
|
||||
delete m_hardfork;
|
||||
m_hardfork = NULL;
|
||||
delete m_db;
|
||||
m_db = NULL;
|
||||
return true;
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user