forked from AuroraMiddleware/gtk
gtkstyleproperties: zero GValue out before using G_VALUE_COLLECT_INIT()
Fixes invalid reads in valgrind
This commit is contained in:
parent
747dc65c2c
commit
b68172b2c6
@ -620,7 +620,7 @@ gtk_style_properties_set_valist (GtkStyleProperties *props,
|
||||
{
|
||||
const GtkStyleProperty *node;
|
||||
gchar *error = NULL;
|
||||
GValue val;
|
||||
GValue val = { 0 };
|
||||
|
||||
node = _gtk_style_property_lookup (property_name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user