diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-06-20 14:15:12 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-06-20 14:15:12 +0100 |
commit | fe65bdec237776dbe094339509dfd2e63329a832 (patch) | |
tree | 468c525f59f96f16520e3a44d77de19c59b48c23 /src | |
parent | 0b82bac76d0f842bd2294a290388536951fbc576 (diff) | |
download | bitcoin-fe65bdec237776dbe094339509dfd2e63329a832.tar.xz |
bugfix: Delete walletView in WalletFrame::removeWallet
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/walletframe.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index eb0eba21ef..c5a13f61f4 100644 --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -94,6 +94,7 @@ bool WalletFrame::removeWallet(const QString &name) WalletView *walletView = mapWalletViews.take(name); walletStack->removeWidget(walletView); + delete walletView; return true; } |