mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
* clutter/clutter-color.c (param_color_set_default): Set the no copy
flag when setting the default param spec value to prevent invalid frees.
This commit is contained in:
@ -826,6 +826,7 @@ param_color_set_default (GParamSpec *pspec,
|
||||
GValue *value)
|
||||
{
|
||||
value->data[0].v_pointer = CLUTTER_PARAM_SPEC_COLOR (pspec)->default_value;
|
||||
value->data[1].v_uint = G_VALUE_NOCOPY_CONTENTS;
|
||||
}
|
||||
|
||||
static gint
|
||||
|
Reference in New Issue
Block a user