diff options
Diffstat (limited to 'src/journal.cc')
-rw-r--r-- | src/journal.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/journal.cc b/src/journal.cc index 7fe6b285..9ff42832 100644 --- a/src/journal.cc +++ b/src/journal.cc @@ -293,7 +293,7 @@ bool entry_base_t::finalize() entry_t::entry_t(const entry_t& e) : entry_base_t(e), _date(e._date), _date_eff(e._date_eff), - code(e.code), payee(e.payee), data(NULL) + code(e.code), payee(e.payee) { TRACE_CTOR(entry_t, "copy"); for (transactions_list::const_iterator i = transactions.begin(); @@ -538,9 +538,6 @@ journal_t::~journal_t() assert(master); checked_delete(master); - if (document) - checked_delete(document); - // Don't bother unhooking each entry's transactions from the // accounts they refer to, because all accounts are about to // be deleted. |