From bffa2703fce098b13e67b55d584af82fb191b135 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 9 Feb 2005 21:05:45 +0000 Subject: (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. --- walk.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/walk.cc b/walk.cc index c5e93dfb..da7db316 100644 --- a/walk.cc +++ b/walk.cc @@ -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(); } -- cgit v1.2.3