aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletframe.cpp
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-06-20 14:15:12 +0100
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-06-20 14:15:12 +0100
commitfe65bdec237776dbe094339509dfd2e63329a832 (patch)
tree468c525f59f96f16520e3a44d77de19c59b48c23 /src/qt/walletframe.cpp
parent0b82bac76d0f842bd2294a290388536951fbc576 (diff)
downloadbitcoin-fe65bdec237776dbe094339509dfd2e63329a832.tar.xz
bugfix: Delete walletView in WalletFrame::removeWallet
Diffstat (limited to 'src/qt/walletframe.cpp')
-rw-r--r--src/qt/walletframe.cpp1
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;
}