summaryrefslogtreecommitdiff
path: root/parse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'parse.cc')
-rw-r--r--parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.cc b/parse.cc
index 5b1ed5ab..4af13a43 100644
--- a/parse.cc
+++ b/parse.cc
@@ -188,7 +188,7 @@ transaction * parse_transaction(std::istream& in, book * ledger)
entry * parse_entry(std::istream& in, book * ledger)
{
- entry * curr = new entry;
+ entry * curr = new entry(ledger);
static char line[MAX_LINE + 1];
in.getline(line, MAX_LINE);