gnucash maint: [engine.i] QofQueryParamList * args must be freed
Christopher Lam
clam at code.gnucash.org
Sat Sep 11 02:59:36 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/72a3ebbb (commit)
from https://github.com/Gnucash/gnucash/commit/b8552a80 (commit)
commit 72a3ebbba330635325ba657a8e4935c510dd5047
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sat Sep 11 14:57:57 2021 +0800
[engine.i] QofQueryParamList * args must be freed
diff --git a/bindings/engine.i b/bindings/engine.i
index a8fe5827d..a2bdf0289 100644
--- a/bindings/engine.i
+++ b/bindings/engine.i
@@ -211,6 +211,7 @@ SplitList * qof_query_last_run (QofQuery *q);
SplitList * qof_query_run_subquery (QofQuery *q, const QofQuery *q);
%typemap(in) QofQueryParamList * "$1 = gnc_query_scm2path($input);"
+%typemap(freearg) QofQueryParamList * "g_slist_free_full ($1, g_free);"
%include <gnc-session.h>
%include <Query.h>
Summary of changes:
bindings/engine.i | 1 +
1 file changed, 1 insertion(+)
More information about the gnucash-changes
mailing list