[gtk+/gtk-style-context: 105/191] GtkCssProvider: Plug memory leak.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 105/191] GtkCssProvider: Plug memory leak.
- Date: Tue, 17 Aug 2010 13:57:01 +0000 (UTC)
commit a663ec11a50115fcd6b697be99bce66594809206
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jun 25 18:49:15 2010 +0200
GtkCssProvider: Plug memory leak.
gtk/gtkcssprovider.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 212bcc6..bd816df 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -861,8 +861,6 @@ parse_selector (GtkCssProvider *css_provider,
scanner->token != G_TOKEN_IDENTIFIER)
return G_TOKEN_IDENTIFIER;
- path = selector_path_new ();
-
while (scanner->token == G_TOKEN_IDENTIFIER)
{
if (g_ascii_isupper (scanner->value.v_identifier[0]))
@@ -940,8 +938,6 @@ parse_selector (GtkCssProvider *css_provider,
return G_TOKEN_LEFT_CURLY;
}
- *selector_out = path;
-
return G_TOKEN_NONE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]