mirror of https://github.com/Gnucash/gnucash
g_list_free requires the argument is the head of a GList. Calling g_list_reverse makes the filtered_list points to the last element. Assigning filtered_list to the result of g_list_reverse ensures it still points to the head, allowing g_list_free to free the list properly.pull/1109/head
parent
5ced0d932a
commit
6fd19f2eea
Loading…
Reference in new issue