mirror of
https://github.com/monero-project/monero.git
synced 2026-02-03 18:17:25 +01:00
Merge pull request #1357
5fc36f9 wallet2_api: fix history leak on destruction (moneromooo-monero)
This commit is contained in:
@@ -55,7 +55,8 @@ TransactionHistoryImpl::TransactionHistoryImpl(WalletImpl *wallet)
|
||||
|
||||
TransactionHistoryImpl::~TransactionHistoryImpl()
|
||||
{
|
||||
|
||||
for (auto t : m_history)
|
||||
delete t;
|
||||
}
|
||||
|
||||
int TransactionHistoryImpl::count() const
|
||||
|
||||
Reference in New Issue
Block a user