summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 0251edde..f05c6069 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -55,6 +55,8 @@ xact_base_t::~xact_base_t()
// If the posting is a temporary, it will be destructed when the
// temporary is.
assert(! post->has_flags(ITEM_TEMP));
+
+ post->account->remove_post(post);
checked_delete(post);
}
}