qt: Plug many memory leaks
https://github.com/bitcoin/bitcoin/pull/9190
This commit is contained in:
committed by
lateminer
parent
d39badf3b4
commit
f6a1ce534f
@@ -530,12 +530,12 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
|
||||
// Propagate cleared model to child objects
|
||||
rpcConsole->setClientModel(nullptr);
|
||||
#ifdef ENABLE_WALLET
|
||||
walletFrame->setClientModel(nullptr);
|
||||
if (walletFrame)
|
||||
{
|
||||
walletFrame->setClientModel(nullptr);
|
||||
}
|
||||
#endif // ENABLE_WALLET
|
||||
unitDisplayControl->setOptionsModel(nullptr);
|
||||
|
||||
// TODO: FIX
|
||||
// connectionsControl->setClientModel(nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user