mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
GtkCssProvider: Plug memory leak.
This commit is contained in:
parent
2cd4ff4215
commit
b50c88d170
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user