From b7c67065b28f215a9d338c9514e1a90fea1397de Mon Sep 17 00:00:00 2001 From: "moneromooo.monero" Date: Fri, 18 Nov 2016 21:40:58 +0000 Subject: [PATCH] Wallet: fix history leak on destruction --- src/libwalletqt/Wallet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 5f3cd5f3..9170073d 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -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); }