wallet2_api: fix history leak on destruction

This commit is contained in:
moneromooo-monero 2016-11-18 21:42:08 +00:00
parent dbf2ab56c5
commit 5fc36f981c
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

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