diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-11-24 12:54:25 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-11-24 12:54:25 +0200 |
commit | 25369df4d80456fa36c5818d549089da45c3c27d (patch) | |
tree | 0c93f5bca85efbec3ab317aad0555186dde638b0 /src/wallet/api | |
parent | Merge pull request #1356 (diff) | |
parent | wallet2_api: fix history leak on destruction (diff) | |
download | monero-25369df4d80456fa36c5818d549089da45c3c27d.tar.xz |
Merge pull request #1357
5fc36f9 wallet2_api: fix history leak on destruction (moneromooo-monero)
Diffstat (limited to 'src/wallet/api')
-rw-r--r-- | src/wallet/api/transaction_history.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/api/transaction_history.cpp b/src/wallet/api/transaction_history.cpp index 63c4ea3cc..603739598 100644 --- a/src/wallet/api/transaction_history.cpp +++ b/src/wallet/api/transaction_history.cpp @@ -55,7 +55,8 @@ TransactionHistoryImpl::TransactionHistoryImpl(WalletImpl *wallet) TransactionHistoryImpl::~TransactionHistoryImpl() { - + for (auto t : m_history) + delete t; } int TransactionHistoryImpl::count() const |