gtkstyleproperties: zero GValue out before using G_VALUE_COLLECT_INIT()

Fixes invalid reads in valgrind
This commit is contained in:
Carlos Garnacho 2011-05-30 19:18:41 +02:00
parent 747dc65c2c
commit b68172b2c6

View File

@ -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);