From f83705b847c59a8197f5098cb7dc2d484704e24d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 May 2007 11:09:54 +0000 Subject: Changed xpath to use intrusive_ptr; got the xml command working --- src/journal.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/journal.cc') 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. -- cgit v1.2.3