summaryrefslogtreecommitdiff
path: root/journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'journal.cc')
-rw-r--r--journal.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/journal.cc b/journal.cc
index 40454b28..01740d13 100644
--- a/journal.cc
+++ b/journal.cc
@@ -354,8 +354,6 @@ bool account_t::valid() const
return true;
}
-void clean_commodity_history(char * item_pool, char * item_pool_end);
-
journal_t::~journal_t()
{
DEBUG_PRINT("ledger.memory.dtors", "dtor journal_t");
@@ -374,9 +372,6 @@ journal_t::~journal_t()
else
(*i)->~entry_t();
- // Remove historical prices which were allocated in the item_pool.
- clean_commodity_history(item_pool, item_pool_end);
-
if (item_pool)
delete[] item_pool;
}