gnucash maint: qof_instance_get gchar* must be freed

Christopher Lam clam at code.gnucash.org
Sat Aug 14 22:24:20 EDT 2021


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



commit 6bf5a618debee47d90317ff287767ba6d1fd32fa
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 13 23:33:03 2021 +0800

    qof_instance_get gchar* must be freed
    
    A call to qof_instance_get expecting a gchar* receives a newly
    allocated string which must be freed.



Summary of changes:
 gnucash/gnome-utils/gnc-tree-view-account.c |  3 ++-
 gnucash/gnome/gnc-plugin-page-report.c      | 17 ++++++++++-------
 libgnucash/engine/qofbook.cpp               | 12 +++++-------
 3 files changed, 17 insertions(+), 15 deletions(-)



More information about the gnucash-patches mailing list