mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
css: Fix memleak in shadow parsing
This commit is contained in:
parent
345d865ac6
commit
9770184643
@ -898,11 +898,11 @@ shadow_value_parse (GtkCssParser *parser,
|
||||
GtkShadow *shadow;
|
||||
guint i;
|
||||
|
||||
shadow = _gtk_shadow_new ();
|
||||
|
||||
if (_gtk_css_parser_try (parser, "none", TRUE))
|
||||
return TRUE;
|
||||
|
||||
shadow = _gtk_shadow_new ();
|
||||
|
||||
do
|
||||
{
|
||||
have_inset = have_lengths = have_color = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user