summaryrefslogtreecommitdiff
path: root/src/journal.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-03 15:33:52 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-03 15:33:52 -0500
commitbdb3ebca3fd33d530a0c38b739622082d23b6d93 (patch)
tree07975732b3ae9aba1bab5ccde80c8d02007dc569 /src/journal.cc
parent6d835e52f50ed7443384cb2ce56db77f6c7cc2f7 (diff)
downloadfork-ledger-bdb3ebca3fd33d530a0c38b739622082d23b6d93.tar.gz
fork-ledger-bdb3ebca3fd33d530a0c38b739622082d23b6d93.tar.bz2
fork-ledger-bdb3ebca3fd33d530a0c38b739622082d23b6d93.zip
Initialize journal_t::basket to NULL
Diffstat (limited to 'src/journal.cc')
-rw-r--r--src/journal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal.cc b/src/journal.cc
index 7dbc2907..4b5172f5 100644
--- a/src/journal.cc
+++ b/src/journal.cc
@@ -41,7 +41,7 @@
namespace ledger {
journal_t::journal_t()
- : master(new account_t), was_loaded(false),
+ : master(new account_t), basket(NULL), was_loaded(false),
commodity_pool(new commodity_pool_t)
{
TRACE_CTOR(journal_t, "");