summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index e664e8b8..a5ba3690 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -311,7 +311,7 @@ static int read_and_report(report_t * report, int argc, char * argv[],
std::auto_ptr<xml::xpath_t::scope_t> locals
(new xml::xpath_t::scope_t(report, xml::xpath_t::scope_t::ARGUMENT));
- locals->args = new value_t::sequence_t;
+ locals->args = value_t::sequence_t();
locals->args.push_back(out);
locals->args.push_back(journal->document);