gnucash maint: Bug 797500 - valgrind errors - new/delete vs malloc/free

Christopher Lam clam at code.gnucash.org
Sat Nov 16 20:56:09 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/de09259f (commit)
	from  https://github.com/Gnucash/gnucash/commit/78cd4eaa (commit)



commit de09259f13e8e3d7f2e50f97a353bd22eb45a4b6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 17 07:17:27 2019 +0800

    Bug 797500 - valgrind errors - new/delete vs malloc/free
    
    Mismatched new/g_free()
    Change to new/guid_free() which calls delete



Summary of changes:
 libgnucash/backend/xml/gnc-account-xml-v2.cpp        |  4 ++--
 libgnucash/backend/xml/gnc-bill-term-xml-v2.cpp      |  4 ++--
 libgnucash/backend/xml/gnc-book-xml-v2.cpp           |  2 +-
 libgnucash/backend/xml/gnc-budget-xml-v2.cpp         |  2 +-
 libgnucash/backend/xml/gnc-customer-xml-v2.cpp       |  6 +++---
 libgnucash/backend/xml/gnc-employee-xml-v2.cpp       |  4 ++--
 libgnucash/backend/xml/gnc-entry-xml-v2.cpp          | 12 ++++++------
 libgnucash/backend/xml/gnc-invoice-xml-v2.cpp        | 10 +++++-----
 libgnucash/backend/xml/gnc-job-xml-v2.cpp            |  2 +-
 libgnucash/backend/xml/gnc-lot-xml-v2.cpp            |  2 +-
 libgnucash/backend/xml/gnc-order-xml-v2.cpp          |  2 +-
 libgnucash/backend/xml/gnc-owner-xml-v2.cpp          |  4 ++--
 libgnucash/backend/xml/gnc-pricedb-xml-v2.cpp        |  2 +-
 libgnucash/backend/xml/gnc-schedxaction-xml-v2.cpp   |  2 +-
 libgnucash/backend/xml/gnc-tax-table-xml-v2.cpp      |  6 +++---
 libgnucash/backend/xml/gnc-transaction-xml-v2.cpp    |  8 ++++----
 libgnucash/backend/xml/gnc-vendor-xml-v2.cpp         |  6 +++---
 libgnucash/backend/xml/test/test-dom-converters1.cpp |  2 +-
 libgnucash/backend/xml/test/test-file-stuff.cpp      |  4 ++--
 libgnucash/backend/xml/test/test-xml-transaction.cpp | 10 +++++-----
 20 files changed, 47 insertions(+), 47 deletions(-)



More information about the gnucash-patches mailing list