css: Fix memleak

https://bugzilla.gnome.org/show_bug.cgi?id=667910
This commit is contained in:
Benjamin Otte 2012-01-15 00:11:42 +01:00
parent 8411088c54
commit 4653c7017f

View File

@ -144,7 +144,7 @@ gtk_css_shorthand_property_parse_value (GtkStyleProperty *property,
} }
g_value_init (value, G_TYPE_VALUE_ARRAY); g_value_init (value, G_TYPE_VALUE_ARRAY);
g_value_set_boxed (value, array); g_value_take_boxed (value, array);
return TRUE; return TRUE;
} }