g_list_reverse reverses in place, don't free trans_list_remain.

This commit is contained in:
John Ralls 2021-09-16 18:08:20 -07:00
parent ca274e361e
commit 37196fa015

View File

@ -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))