Skip to content

Commit 434546f

Browse files
[account-quickfill.c] free link and node with g_list_delete_link
instead of g_list_remove_link which doesn't free the node.
1 parent 4dd347a commit 434546f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnucash/gnome-utils/account-quickfill.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ shared_quickfill_find_accounts (GtkTreeModel* model,
106106
{
107107
ref = gtk_tree_row_reference_new (model, path);
108108
data->refs = g_list_append (data->refs, ref);
109-
data->accounts = g_list_remove_link (data->accounts, tmp);
109+
data->accounts = g_list_delete_link (data->accounts, tmp);
110110
return (data->accounts == NULL);
111111
}
112112
}

0 commit comments

Comments
 (0)