css: Fix leak of lists while building tree

This commit is contained in:
Alexander Larsson 2012-11-29 19:10:57 +01:00
parent 528e6032ae
commit 2dbeabdc58

View File

@ -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;
}