From ff8c5b58731493c6dcdbac77ca727bc22867115f Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Thu, 6 Jun 2024 00:25:14 +0800 Subject: [PATCH] [gnc-report.cpp] missing g_free in 8106ffb84b --- gnucash/report/gnc-report.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gnucash/report/gnc-report.cpp b/gnucash/report/gnc-report.cpp index 8146b79252..4181ecc039 100644 --- a/gnucash/report/gnc-report.cpp +++ b/gnucash/report/gnc-report.cpp @@ -241,6 +241,7 @@ gnc_run_report_with_error_handling (gint report_id, gchar ** data, gchar **errms *errmsg = g_strdup_printf (without_err, gnc_report_name (report)); *data = nullptr; + g_free (scm_err); return FALSE; } }