From 6febfc3b4cd6b374479f34070da9a772f9ff5699 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 25 Aug 2004 01:47:55 -0400 Subject: Bulk alloc bigints in the binary reader; this gains another 20% --- ledger.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ledger.cc') 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; -- cgit v1.2.3