diff options
-rw-r--r-- | src/temps.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/temps.cc b/src/temps.cc index e44aaaa7..bf295997 100644 --- a/src/temps.cc +++ b/src/temps.cc @@ -48,7 +48,9 @@ temporaries_t::~temporaries_t() if (! post.account->has_flags(ACCOUNT_TEMP)) post.account->remove_post(&post); } + } + if (acct_temps) { foreach (account_t& acct, *acct_temps) { if (! acct.has_flags(ACCOUNT_TEMP)) acct.remove_account(&acct); |