gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Fri Aug 13 08:10:58 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/e4d808e6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6fd19f2e (commit)
	from  https://github.com/Gnucash/gnucash/commit/5ced0d93 (commit)



commit e4d808e674aab417698537864212b84d01848cdc
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 13 08:54:21 2021 +0800

    [qofbook] qof_book_use_split_action_for_num_field: free a char*
    
    qof_instance_get allocates a new char* which must be freed.

commit 6fd19f2eeaaf2fce26da3c0375d358c1b5364a93
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 13 08:51:14 2021 +0800

    [dialog-lot-viewer] g_free a GList* properly
    
    g_list_free requires the argument is the head of a GList. Calling
    g_list_reverse makes the filtered_list points to the last
    element. Assigning filtered_list to the result of g_list_reverse
    ensures it still points to the head, allowing g_list_free to free the
    list properly.



Summary of changes:
 gnucash/gnome/dialog-lot-viewer.c | 3 ++-
 libgnucash/engine/qofbook.cpp     | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)



More information about the gnucash-patches mailing list