Merge pull request #1357

5fc36f9 wallet2_api: fix history leak on destruction (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2016-11-24 12:54:25 +02:00
commit 25369df4d8
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ TransactionHistoryImpl::TransactionHistoryImpl(WalletImpl *wallet)
TransactionHistoryImpl::~TransactionHistoryImpl()
{
for (auto t : m_history)
delete t;
}
int TransactionHistoryImpl::count() const