mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 17:06:36 -06:00
[Account.cpp] SplitsVec&, ensure xaccAccountGetSplitList is freed
This commit is contained in:
parent
3d173681cc
commit
94368f4cb4
@ -83,6 +83,7 @@ engine-common.i */
|
||||
%newobject gnc_account_get_full_name;
|
||||
%newobject xaccTransGetAPARAcctSplitList;
|
||||
%newobject xaccTransGetPaymentAcctSplitList;
|
||||
%newobject xaccAccountGetSplitList;
|
||||
|
||||
%include "engine-common.i"
|
||||
|
||||
|
@ -5451,7 +5451,7 @@ gnc_account_merge_children (Account *parent)
|
||||
|
||||
|
||||
static void
|
||||
xaccSplitsBeginStagedTransactionTraversals (SplitsVec splits)
|
||||
xaccSplitsBeginStagedTransactionTraversals (SplitsVec& splits)
|
||||
{
|
||||
for (auto s : splits)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user