summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-15 01:17:01 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-15 01:17:01 -0500
commitee641f353c9a2216533800464d26afe86f1b028e (patch)
tree2f7b290d5e6ea5c395ff294d4c911a4f942fe6f6 /src/xact.cc
parent1ad826c2bccabad844156a181735dd960f87d174 (diff)
downloadfork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.tar.gz
fork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.tar.bz2
fork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.zip
Resolve some issues with proof builds
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 3f4b753c..226fd5ab 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -56,7 +56,8 @@ xact_base_t::~xact_base_t()
// temporary is.
assert(! post->has_flags(ITEM_TEMP));
- post->account->remove_post(post);
+ if (post->account)
+ post->account->remove_post(post);
checked_delete(post);
}
}