[gtk+/wip/css-tree] css: Fix leak of lists while building tree
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css-tree] css: Fix leak of lists while building tree
- Date: Thu, 29 Nov 2012 21:25:10 +0000 (UTC)
commit 536e38aef621413fd230b1138e29957cf7f300fa
Author: Alexander Larsson <alexl redhat com>
Date: Thu Nov 29 19:10:57 2012 +0100
css: Fix leak of lists while building tree
gtk/gtkcssselector.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c
index a9800ac..29ca387 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]