Merge branch 'matthiasc/for-main' into 'main'

css: Plug a memory leak

See merge request GNOME/gtk!7341
This commit is contained in:
Matthias Clasen 2024-06-05 12:18:50 +00:00
commit 58fe590eae

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])