gnucash maint: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Fri Jul 29 00:47:05 EDT 2022
Updated via https://github.com/Gnucash/gnucash/commit/7880f9b1 (commit)
via https://github.com/Gnucash/gnucash/commit/38ec9f25 (commit)
from https://github.com/Gnucash/gnucash/commit/436110e5 (commit)
commit 7880f9b16f5322ae8a1e16dfca9b50ed0b5f6f91
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Fri Jul 29 12:22:41 2022 +0800
[SchedXaction.c] free list of recurrences
diff --git a/libgnucash/engine/SchedXaction.c b/libgnucash/engine/SchedXaction.c
index ebbc1c48d..99177e9ef 100644
--- a/libgnucash/engine/SchedXaction.c
+++ b/libgnucash/engine/SchedXaction.c
@@ -520,6 +520,9 @@ xaccSchedXactionFree( SchedXaction *sx )
sx->deferredList = NULL;
}
+ /* a GList of Recurrences */
+ g_list_free_full (sx->schedule, g_free);
+
/* qof_instance_release (&sx->inst); */
g_object_unref( sx );
}
commit 38ec9f254c1b4f73668489e1218acd58bbe13463
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Fri Jul 29 10:10:38 2022 +0800
[dialog-sx-since-last-run] free the dialog
it was created with g_new0 in gnc_ui_sx_since_last_run_dialog
diff --git a/gnucash/gnome/dialog-sx-since-last-run.c b/gnucash/gnome/dialog-sx-since-last-run.c
index fd73489c2..ee5103eb1 100644
--- a/gnucash/gnome/dialog-sx-since-last-run.c
+++ b/gnucash/gnome/dialog-sx-since-last-run.c
@@ -1122,6 +1122,7 @@ close_handler (gpointer user_data)
gnc_save_window_size (GNC_PREFS_GROUP_STARTUP, GTK_WINDOW(app_dialog->dialog));
gtk_widget_destroy (app_dialog->dialog);
+ g_free (app_dialog);
}
static void
Summary of changes:
gnucash/gnome/dialog-sx-since-last-run.c | 1 +
libgnucash/engine/SchedXaction.c | 3 +++
2 files changed, 4 insertions(+)
More information about the gnucash-changes
mailing list