mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Merge pull request #1357
5fc36f9
wallet2_api: fix history leak on destruction (moneromooo-monero)
This commit is contained in:
commit
25369df4d8
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue