diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index eb0eba21ef7..c5a13f61f4a 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; }