Revert "[engine.i] QofQueryParamList * args must be freed"

This reverts commit 72a3ebbba3. Freeing
does not apply to all qof_query_* calls.
This commit is contained in:
Christopher Lam 2021-09-11 15:45:32 +08:00
parent 72a3ebbba3
commit d0f7daf4cf

View File

@ -211,7 +211,6 @@ SplitList * qof_query_last_run (QofQuery *q);
SplitList * qof_query_run_subquery (QofQuery *q, const QofQuery *q); SplitList * qof_query_run_subquery (QofQuery *q, const QofQuery *q);
%typemap(in) QofQueryParamList * "$1 = gnc_query_scm2path($input);" %typemap(in) QofQueryParamList * "$1 = gnc_query_scm2path($input);"
%typemap(freearg) QofQueryParamList * "g_slist_free_full ($1, g_free);"
%include <gnc-session.h> %include <gnc-session.h>
%include <Query.h> %include <Query.h>