summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/session.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.cc b/src/session.cc
index 64c320e9..cbca106f 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -281,8 +281,7 @@ std::size_t session_t::read_data(journal_t& journal,
void session_t::clean_xacts()
{
session_xacts_iterator walker(*this);
- pass_down_xacts
- (xact_handler_ptr(new clear_xact_xdata), walker);
+ pass_down_xacts(xact_handler_ptr(new clear_xact_xdata), walker);
}
void session_t::clean_xacts(entry_t& entry)
@@ -295,6 +294,7 @@ void session_t::clean_accounts()
{
basic_accounts_iterator acct_walker(*master);
pass_down_accounts(acct_handler_ptr(new clear_account_xdata), acct_walker);
+ master->clear_xdata();
}
#if 0