blockchain: don't leave dangling pointers in this

This commit is contained in:
moneromooo-monero 2017-12-13 18:44:18 +00:00
parent 8e60b81c48
commit b1634aa3e8
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -490,7 +490,9 @@ bool Blockchain::deinit()
}
delete m_hardfork;
m_hardfork = NULL;
delete m_db;
m_db = NULL;
return true;
}
//------------------------------------------------------------------