[engine-common.i] AccountList* arg must be g_list_freed

when used by gnc_accounts_and_all_descendants
This commit is contained in:
Christopher Lam
2023-11-27 21:04:28 +08:00
parent 92de074e49
commit 3863d6e8dc

View File

@@ -34,6 +34,8 @@ static const GncGUID * gncAccountGetGUID(Account *x)
%typemap(newfree) LotList * "g_list_free($1);"
%typemap(newfree) CommodityList * "g_list_free($1);"
%typemap(freearg) AccountList * "g_list_free($1);"
%include <Split.h>
%newobject gnc_account_get_children;