delete addressbook in wallet destructor

This commit is contained in:
Jaquee 2017-08-06 16:44:32 +02:00
parent 77335b300a
commit d78f9f5e70

View file

@ -646,6 +646,8 @@ Wallet::Wallet(Monero::Wallet *w, QObject *parent)
Wallet::~Wallet() Wallet::~Wallet()
{ {
qDebug("~Wallet: Closing wallet"); qDebug("~Wallet: Closing wallet");
delete m_addressBook;
m_addressBook = NULL;
delete m_history; delete m_history;
m_history = NULL; m_history = NULL;