diff options
| author | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2016-11-18 21:40:58 +0000 |
|---|---|---|
| committer | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2016-11-18 21:40:58 +0000 |
| commit | b7c67065b28f215a9d338c9514e1a90fea1397de (patch) | |
| tree | 18b16468dc9ffbf31991ca767c304eb1f6bb382f /src | |
| parent | c83336cc4714215725cba957d8ea164a57c33987 (diff) | |
| download | monzero-gui-b7c67065b28f215a9d338c9514e1a90fea1397de.tar.gz monzero-gui-b7c67065b28f215a9d338c9514e1a90fea1397de.tar.xz monzero-gui-b7c67065b28f215a9d338c9514e1a90fea1397de.zip | |
Wallet: fix history leak on destruction
Diffstat (limited to 'src')
| -rw-r--r-- | src/libwalletqt/Wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |
