mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-19 10:31:09 +00:00
delete addressbook in wallet destructor
This commit is contained in:
parent
77335b300a
commit
d78f9f5e70
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue