summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 6b6f814e..78ae327e 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -118,7 +118,7 @@ xact_t * parse_xact(char * line, account_t * account, entry_t * entry = NULL)
try {
// The account will be determined later...
- std::auto_ptr<xact_t> xact(new xact_t(NULL));
+ std::auto_ptr<xact_t> xact(new xact_t);
if (entry)
xact->entry = entry;