diff options
Diffstat (limited to 'src/libwalletqt/Wallet.cpp')
| -rw-r--r-- | src/libwalletqt/Wallet.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 8913d4c3..abc044b5 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -600,7 +600,9 @@ Wallet::~Wallet() qDebug("~Wallet: Closing wallet"); delete m_history; + m_history = NULL; //Monero::WalletManagerFactory::getWalletManager()->closeWallet(m_walletImpl); delete m_walletImpl; + m_walletImpl = NULL; qDebug("m_walletImpl deleted"); } |
