summaryrefslogtreecommitdiff
path: root/ledger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.cc')
-rw-r--r--ledger.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ledger.cc b/ledger.cc
index 91b1985c..66fbe9c7 100644
--- a/ledger.cc
+++ b/ledger.cc
@@ -83,6 +83,8 @@ journal_t::~journal_t()
if (! item_pool ||
((char *) *i) < item_pool || ((char *) *i) >= item_pool_end)
delete *i;
+ else
+ (*i)->~entry_t();
if (item_pool)
delete[] item_pool;