mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
css: Fix leak of lists while building tree
This commit is contained in:
parent
528e6032ae
commit
2dbeabdc58
@ -1946,6 +1946,9 @@ subdivide_infos (GList *infos, GtkCssSelectorTree *parent)
|
||||
if (remaining)
|
||||
tree->sibling = subdivide_infos (remaining, parent);
|
||||
|
||||
g_list_free (matched);
|
||||
g_list_free (remaining);
|
||||
|
||||
return tree;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user