Wallet: fix history leak on destruction

This commit is contained in:
moneromooo.monero 2016-11-18 21:40:58 +00:00
parent c83336cc47
commit b7c67065b2

View file

@ -427,5 +427,6 @@ Wallet::Wallet(Bitmonero::Wallet *w, QObject *parent)
Wallet::~Wallet()
{
qDebug("~Wallet: Closing wallet");
delete m_history;
Bitmonero::WalletManagerFactory::getWalletManager()->closeWallet(m_walletImpl);
}