(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.
This commit is contained in:
John Wiegley 2005-02-09 21:05:45 +00:00
parent cc6275cd63
commit bffa2703fc

View file

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