From 37196fa015153928702b41a70d97671e2a9f0675 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 16 Sep 2021 18:08:20 -0700 Subject: [PATCH] g_list_reverse reverses in place, don't free trans_list_remain. --- gnucash/import-export/ofx/gnc-ofx-import.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gnucash/import-export/ofx/gnc-ofx-import.c b/gnucash/import-export/ofx/gnc-ofx-import.c index f4433b2666..64c5cf4355 100644 --- a/gnucash/import-export/ofx/gnc-ofx-import.c +++ b/gnucash/import-export/ofx/gnc-ofx-import.c @@ -1190,7 +1190,6 @@ runMatcher(ofx_info* info, char * selected_filename, gboolean go_to_next_file) } g_list_free (info->trans_list); info->trans_list = g_list_reverse (trans_list_remain); - g_list_free (trans_list_remain); // See whether the view has anything in it and warn the user if not. if (gnc_gen_trans_list_empty (info->gnc_ofx_importer_gui))