mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
g_list_reverse reverses in place, don't free trans_list_remain.
This commit is contained in:
parent
ca274e361e
commit
37196fa015
@ -1190,7 +1190,6 @@ runMatcher(ofx_info* info, char * selected_filename, gboolean go_to_next_file)
|
|||||||
}
|
}
|
||||||
g_list_free (info->trans_list);
|
g_list_free (info->trans_list);
|
||||||
info->trans_list = g_list_reverse (trans_list_remain);
|
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.
|
// 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))
|
if (gnc_gen_trans_list_empty (info->gnc_ofx_importer_gui))
|
||||||
|
Loading…
Reference in New Issue
Block a user