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

View file

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