gnucash maint: [engine.i] free swigged GList* arg
Christopher Lam
clam at code.gnucash.org
Mon Aug 23 12:14:33 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/929cb3d0 (commit)
from https://github.com/Gnucash/gnucash/commit/0f3da067 (commit)
commit 929cb3d0c141b78d4b3c61d7053773bf0a763d25
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Aug 24 00:13:45 2021 +0800
[engine.i] free swigged GList* arg
diff --git a/bindings/engine.i b/bindings/engine.i
index 23f89c96b..42c8baf74 100644
--- a/bindings/engine.i
+++ b/bindings/engine.i
@@ -258,6 +258,8 @@ time64 time64CanonicalDayTime(time64 t);
$1 = g_list_reverse (path);
}
+%typemap (freearg) GList * "g_list_free_full ($1, g_free);"
+
void gnc_quote_source_set_fq_installed (const char* version_string,
GList *sources_list);
%clear GList *;
Summary of changes:
bindings/engine.i | 2 ++
1 file changed, 2 insertions(+)
More information about the gnucash-changes
mailing list