gnucash maint: [import-main-matcher] free gtk_tree_selection_get_selected_rows

Christopher Lam clam at code.gnucash.org
Tue Jul 12 11:21:03 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/508e00a6 (commit)
	from  https://github.com/Gnucash/gnucash/commit/47eeaf8e (commit)



commit 508e00a60bfe319bc071c6f73f5da94a86a30a23
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jul 10 22:39:16 2022 +0800

    [import-main-matcher] free gtk_tree_selection_get_selected_rows

diff --git a/gnucash/import-export/import-main-matcher.c b/gnucash/import-export/import-main-matcher.c
index 1796b0b11..2440be07d 100644
--- a/gnucash/import-export/import-main-matcher.c
+++ b/gnucash/import-export/import-main-matcher.c
@@ -1133,6 +1133,7 @@ gnc_gen_trans_view_popup_menu (GtkTreeView *treeview,
     /* Note: event can be NULL here when called from view_onPopupMenu; */
     gtk_menu_popup_at_pointer (GTK_MENU(menu), (GdkEvent*)event);
 
+    g_list_free_full (selected_rows, (GDestroyNotify)gtk_tree_path_free);
     LEAVE ("");
 }
 



Summary of changes:
 gnucash/import-export/import-main-matcher.c | 1 +
 1 file changed, 1 insertion(+)



More information about the gnucash-changes mailing list