1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-02 21:26:24 +01:00

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()
{
qDebug("~Wallet: Closing wallet");
delete m_addressBook;
m_addressBook = NULL;
delete m_history;
m_history = NULL;