diff options
author | John Wiegley <johnw@newartisans.com> | 2006-03-26 19:47:33 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 05:48:45 -0400 |
commit | 46887bad42530c8c7d5cf7970e8c71aa4e9e9591 (patch) | |
tree | 9ce7c770dd5ec90def694f6c9307c57b3344d41e | |
parent | f60717d3f4bd3f3c04e08edbe459495d00936d0c (diff) | |
download | fork-ledger-46887bad42530c8c7d5cf7970e8c71aa4e9e9591.tar.gz fork-ledger-46887bad42530c8c7d5cf7970e8c71aa4e9e9591.tar.bz2 fork-ledger-46887bad42530c8c7d5cf7970e8c71aa4e9e9591.zip |
Fixed a possible memory corruption bug (rare).
-rw-r--r-- | binary.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |