gnucash maint: [gnc-xml-backend.cpp] gchar* must be freed after use.

Christopher Lam clam at code.gnucash.org
Sun Mar 20 19:27:35 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/4a75baa4 (commit)
	from  https://github.com/Gnucash/gnucash/commit/7fbbd6e7 (commit)



commit 4a75baa4c6772d3a864455e50c323a38c228af9c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Mar 20 23:12:32 2022 +0800

    [gnc-xml-backend.cpp] gchar* must be freed after use.
    
    It is used as a constructor for std::string which makes a copy but
    doesn't take ownership.



Summary of changes:
 libgnucash/backend/xml/gnc-xml-backend.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



More information about the gnucash-patches mailing list