summaryrefslogtreecommitdiff
path: root/binary.cc
diff options
context:
space:
mode:
Diffstat (limited to 'binary.cc')
-rw-r--r--binary.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/binary.cc b/binary.cc
index 387c0769..e425cded 100644
--- a/binary.cc
+++ b/binary.cc
@@ -456,7 +456,7 @@ account_t * read_binary_account(char *& data, journal_t * journal,
// account, throw away what we've learned about the recorded
// journal's own master account.
- if (master) {
+ if (master && acct != master) {
delete acct;
acct = master;
}