Fixed a possible memory corruption bug (rare).

This commit is contained in:
John Wiegley 2006-03-26 19:47:33 +00:00
parent f60717d3f4
commit 46887bad42

View file

@ -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;
}