From 508e00a60bfe319bc071c6f73f5da94a86a30a23 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sun, 10 Jul 2022 22:39:16 +0800 Subject: [PATCH] [import-main-matcher] free gtk_tree_selection_get_selected_rows --- gnucash/import-export/import-main-matcher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gnucash/import-export/import-main-matcher.c b/gnucash/import-export/import-main-matcher.c index 1796b0b113..2440be07dc 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 (""); }