gradient: plug a GtkCssValue refleak

Since _gtk_symbolic_color_resolve_full() returns a reference to a
GtkCssValue.
This commit is contained in:
Cosimo Cecchi 2012-10-16 11:51:54 -04:00
parent 3b7e390484
commit 6fb66261ca

View File

@ -327,6 +327,7 @@ _gtk_gradient_resolve_full (GtkGradient *gradient,
{
rgba = *_gtk_css_rgba_value_get_rgba (val);
*dependencies = _gtk_css_dependencies_union (*dependencies, stop_deps);
_gtk_css_value_unref (val);
}
else
{