diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-09 21:05:45 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:56 -0400 |
commit | bffa2703fce098b13e67b55d584af82fb191b135 (patch) | |
tree | fb5018c9dcec864e4edc08c69213bf27bbbebc5a | |
parent | cc6275cd6343ce61cc87028cd63b651e89797668 (diff) | |
download | fork-ledger-bffa2703fce098b13e67b55d584af82fb191b135.tar.gz fork-ledger-bffa2703fce098b13e67b55d584af82fb191b135.tar.bz2 fork-ledger-bffa2703fce098b13e67b55d584af82fb191b135.zip |
(clear_transactions_xdata): Clear the transaction xdata pointers once
they have been freed. (clear_accounts_xdata): Clear the account xdata
pointers once they have been freed.
-rw-r--r-- | walk.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -664,6 +664,7 @@ void clear_transactions_xdata() i != transactions_xdata_ptrs.end(); i++) **i = NULL; + transactions_xdata_ptrs.clear(); } template <> @@ -782,6 +783,7 @@ void clear_accounts_xdata() i != accounts_xdata_ptrs.end(); i++) **i = NULL; + accounts_xdata_ptrs.clear(); } |