gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Wed Jun 2 11:17:41 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/f5257122 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8a641334 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c5585ebe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d611538a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2807613c (commit)
	from  https://github.com/Gnucash/gnucash/commit/f33b2810 (commit)



commit f525712260beb5fe526409fb378539e691d423d4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jun 2 22:04:06 2021 +0800

    [gnc-plugin-page-report] free char*

diff --git a/gnucash/gnome/gnc-plugin-page-report.c b/gnucash/gnome/gnc-plugin-page-report.c
index 3445b6ce7..e2de72dda 100644
--- a/gnucash/gnome/gnc-plugin-page-report.c
+++ b/gnucash/gnome/gnc-plugin-page-report.c
@@ -495,6 +495,8 @@ gnc_plugin_page_report_create_widget( GncPluginPage *page )
     gnc_plugin_page_report_load_cb (priv->html, type, id_name, url_label, report);
     g_free(id_name);
     g_free(child_name);
+    g_free (url_label);
+    g_free (url_location);
 
     // FIXME.  This is f^-1(f(x)), isn't it?
     DEBUG( "id=%d", priv->reportId );

commit 8a6413342db5f7ad327592505ea866c72b00c35a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jun 2 22:03:45 2021 +0800

    [SchedXaction] free GList*

diff --git a/libgnucash/engine/SchedXaction.c b/libgnucash/engine/SchedXaction.c
index af7b9c5d0..ebbc1c48d 100644
--- a/libgnucash/engine/SchedXaction.c
+++ b/libgnucash/engine/SchedXaction.c
@@ -453,6 +453,7 @@ delete_template_trans(SchedXaction *sx)
                    sxprivTransMapDelete,
                    NULL);
 
+    g_list_free (templ_acct_transactions);
     return;
 }
 

commit c5585ebe2ce340e2bbe0d0e11ab39322609e9c69
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jun 2 22:03:34 2021 +0800

    [gncInvoice] free GList*

diff --git a/libgnucash/engine/gncInvoice.c b/libgnucash/engine/gncInvoice.c
index 9d0984173..eb0cf6820 100644
--- a/libgnucash/engine/gncInvoice.c
+++ b/libgnucash/engine/gncInvoice.c
@@ -1844,6 +1844,7 @@ gncInvoiceUnpost (GncInvoice *invoice, gboolean reset_tax_tables)
             else if (other_invoice)
                 qof_event_gen (QOF_INSTANCE(other_invoice), QOF_EVENT_MODIFY, NULL);
         }
+        g_list_free (lot_list);
     }
     g_list_free (lot_split_list);
 

commit d611538ae7f88ab49204150efd452830e67e44da
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jun 2 22:03:17 2021 +0800

    [gncTaxtable] free GSList*

diff --git a/libgnucash/engine/gncTaxTable.c b/libgnucash/engine/gncTaxTable.c
index cbe6aa7af..182bd0552 100644
--- a/libgnucash/engine/gncTaxTable.c
+++ b/libgnucash/engine/gncTaxTable.c
@@ -697,6 +697,8 @@ gncTaxTableGetDefault (QofBook *book, GncOwnerType type)
     path = g_slist_prepend (path, (void*)section);
 
     guid = qof_book_get_guid_option (book, path);
+    g_slist_free (path);
+
     return gncTaxTableLookup (book, guid);
 }
 

commit 2807613c4019de09beed1e278585108f9fe8961f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jun 2 22:02:51 2021 +0800

    [gnc-plugin-page] free char*

diff --git a/gnucash/gnome-utils/gnc-plugin-page.c b/gnucash/gnome-utils/gnc-plugin-page.c
index 4afd75674..e34647fc8 100644
--- a/gnucash/gnome-utils/gnc-plugin-page.c
+++ b/gnucash/gnome-utils/gnc-plugin-page.c
@@ -547,6 +547,9 @@ gnc_plugin_page_finalize (GObject *object)
     if (priv->page_name)
         g_free (priv->page_name);
 
+    if (priv->page_long_name)
+        g_free (priv->page_long_name);
+
     if (priv->page_color)
         g_free (priv->page_color);
 



Summary of changes:
 gnucash/gnome-utils/gnc-plugin-page.c  | 3 +++
 gnucash/gnome/gnc-plugin-page-report.c | 2 ++
 libgnucash/engine/SchedXaction.c       | 1 +
 libgnucash/engine/gncInvoice.c         | 1 +
 libgnucash/engine/gncTaxTable.c        | 2 ++
 5 files changed, 9 insertions(+)



More information about the gnucash-changes mailing list