Commit b68172b2 authored by Carlos Garnacho's avatar Carlos Garnacho

gtkstyleproperties: zero GValue out before using G_VALUE_COLLECT_INIT()

Fixes invalid reads in valgrind
parent 747dc65c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment