diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-11-29 19:10:57 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-11-30 14:53:30 +0100 |
commit | 2dbeabdc58b0a77aa286a5b47d5674c7366f0b48 (patch) | |
tree | 65649fc1355c4db09e22b574093d0c49a50e7547 /gtk/gtkcssselector.c | |
parent | 528e6032ae6514587effb8fb85ed5dd4da0674a0 (diff) | |
download | gtk+-2dbeabdc58b0a77aa286a5b47d5674c7366f0b48.tar.gz |
css: Fix leak of lists while building tree
Diffstat (limited to 'gtk/gtkcssselector.c')
-rw-r--r-- | gtk/gtkcssselector.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c index a9800ac8bc..29ca387e3d 100644 --- a/gtk/gtkcssselector.c +++ b/gtk/gtkcssselector.c @@ -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; } |