mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
wallet2_api: fix history leak on destruction
This commit is contained in:
parent
dbf2ab56c5
commit
5fc36f981c
@ -55,7 +55,8 @@ TransactionHistoryImpl::TransactionHistoryImpl(WalletImpl *wallet)
|
|||||||
|
|
||||||
TransactionHistoryImpl::~TransactionHistoryImpl()
|
TransactionHistoryImpl::~TransactionHistoryImpl()
|
||||||
{
|
{
|
||||||
|
for (auto t : m_history)
|
||||||
|
delete t;
|
||||||
}
|
}
|
||||||
|
|
||||||
int TransactionHistoryImpl::count() const
|
int TransactionHistoryImpl::count() const
|
||||||
|
Loading…
Reference in New Issue
Block a user