mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-19 08:03:48 +02:00
delete addressbook in wallet destructor
This commit is contained in:
parent
77335b300a
commit
d78f9f5e70
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user