[gtk+/nth-child: 25/33] styleproperties: Memory must be initialized to 0
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/nth-child: 25/33] styleproperties: Memory must be initialized to 0
- Date: Fri, 27 May 2011 23:05:46 +0000 (UTC)
commit f65d3b951954592ff293e768b720b92991a36e43
Author: Benjamin Otte <otte redhat com>
Date: Fri May 27 22:43:34 2011 +0200
styleproperties: Memory must be initialized to 0
... when using G_VALUE_COLLECT_INIT().
gtk/gtkstyleproperties.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c
index 5f316f9..1a2945a 100644
--- a/gtk/gtkstyleproperties.c
+++ b/gtk/gtkstyleproperties.c
@@ -628,7 +628,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]