gnucash stable: [sixtp-dom-generators.cpp] don't heap allocate 0.5KiB for date

Christopher Lam clam at code.gnucash.org
Sun Oct 18 08:21:05 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/874207e1 (commit)
	from  https://github.com/Gnucash/gnucash/commit/53d34ccd (commit)



commit 874207e1cc8dabbb02fe2c3743cc1cd4cf417ed7
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Oct 18 18:56:42 2026 +0800

    [sixtp-dom-generators.cpp] don't heap allocate 0.5KiB for date
    
    32 bytes on stack is more than adequate for YYYY-MM-DD
    and it's ASCII, no need to utf8 sanitize



Summary of changes:
 libgnucash/backend/xml/sixtp-dom-generators.cpp | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)



More information about the gnucash-patches mailing list