css: Plug a memory leak

This snuck in when the relative color support was merged.
This commit is contained in:
Matthias Clasen
2024-06-05 07:22:47 -04:00
parent 24fc38b287
commit c18a7ff5cf

View File

@@ -123,6 +123,7 @@ gtk_css_value_color_free (GtkCssValue *color)
break;
case COLOR_TYPE_RELATIVE:
gtk_css_value_unref (color->relative.origin);
for (guint i = 0; i < 4; i++)
{
if (color->relative.values[i])