(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:
parent
cc6275cd63
commit
bffa2703fc
1 changed files with 2 additions and 0 deletions
2
walk.cc
2
walk.cc
|
|
@ -664,6 +664,7 @@ void clear_transactions_xdata()
|
||||||
i != transactions_xdata_ptrs.end();
|
i != transactions_xdata_ptrs.end();
|
||||||
i++)
|
i++)
|
||||||
**i = NULL;
|
**i = NULL;
|
||||||
|
transactions_xdata_ptrs.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
|
|
@ -782,6 +783,7 @@ void clear_accounts_xdata()
|
||||||
i != accounts_xdata_ptrs.end();
|
i != accounts_xdata_ptrs.end();
|
||||||
i++)
|
i++)
|
||||||
**i = NULL;
|
**i = NULL;
|
||||||
|
accounts_xdata_ptrs.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue