gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Jul 30 11:56:57 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/815eeb49 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6c70f2c2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/723dee66 (commit)
	from  https://github.com/Gnucash/gnucash/commit/7bc77374 (commit)



commit 815eeb496f183265cec84d69d14c17d6416354b4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 30 23:16:24 2022 +0800

    [gnc-plugin-page-register] g_slist_free param_list
    
    If (reg->type == SEARCH_LEDGER) then the GSList* created by
    qof_query_build_param_list would not be freed. This reordering avoids
    allocating GSList altogether when not needed.

commit 6c70f2c22d9e72da9c20bc8511ddf816e5f05ce4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 30 23:15:08 2022 +0800

    [gnucash-sheet] unref cursor

commit 723dee66cb7274ece45f3f86dc21d79475b3c5de
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 30 23:01:07 2022 +0800

    [gnc-ledger-display] QofQuery destroyed
    
    This QofQuery was copied by gnc_ledger_display_internal, therefore its
    is no longer in use when out of scope.



Summary of changes:
 gnucash/gnome/gnc-plugin-page-register.c          | 11 +++++------
 gnucash/register/ledger-core/gnc-ledger-display.c |  2 ++
 gnucash/register/register-gnome/gnucash-sheet.c   |  2 ++
 3 files changed, 9 insertions(+), 6 deletions(-)



More information about the gnucash-patches mailing list