gnucash stable: [doclinkcell.c] plug GtkLabel leak in gnc_doclink_cell_set_use_glyphs

Christopher Lam clam at code.gnucash.org
Fri Aug 28 10:14:21 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/8d261e03 (commit)
	from  https://github.com/Gnucash/gnucash/commit/80c442da (commit)



commit 8d261e03413509afb2cf60629a9c857de7b2801b
Author: Claude <noreply at anthropic.com>
Date:   Fri Aug 28 14:07:43 2026 +0000

    [doclinkcell.c] plug GtkLabel leak in gnc_doclink_cell_set_use_glyphs
    
    The temporary GtkLabel created to test glyph rendering was never
    destroyed, leaking a floating widget reference (plus its associated
    Pango layout/context allocations) each time the register is loaded,
    as reported by valgrind.
    
    Co-Authored-By: Claude Sonnet 5 <noreply at anthropic.com>
    Signed-off: Christopher Lam



Summary of changes:
 gnucash/register/register-core/doclinkcell.c | 2 ++
 1 file changed, 2 insertions(+)



More information about the gnucash-patches mailing list