diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-14 11:09:54 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:50 -0400 |
commit | f83705b847c59a8197f5098cb7dc2d484704e24d (patch) | |
tree | 1b314d07bb9f50a75781d703ec6c778056e74684 /src/journal.cc | |
parent | 65af1688382331d91153fb2366026e94feb5afe2 (diff) | |
download | fork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.tar.gz fork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.tar.bz2 fork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.zip |
Changed xpath to use intrusive_ptr; got the xml command working
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. |