gnucash stable: [engine-common.i] AccountList* arg must be g_list_freed
Christopher Lam
clam at code.gnucash.org
Mon Nov 27 08:05:23 EST 2023
Updated via https://github.com/Gnucash/gnucash/commit/3863d6e8 (commit)
from https://github.com/Gnucash/gnucash/commit/92de074e (commit)
commit 3863d6e8dc2743f284c3e4f2ce7415b7475398c9
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Nov 27 21:04:28 2023 +0800
[engine-common.i] AccountList* arg must be g_list_freed
when used by gnc_accounts_and_all_descendants
diff --git a/bindings/engine-common.i b/bindings/engine-common.i
index d85e7ef8d1..cd9fd4bb98 100644
--- a/bindings/engine-common.i
+++ b/bindings/engine-common.i
@@ -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;
Summary of changes:
bindings/engine-common.i | 2 ++
1 file changed, 2 insertions(+)
More information about the gnucash-changes
mailing list