summaryrefslogtreecommitdiff
path: root/gobject/gobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/gobject.c')
-rw-r--r--gobject/gobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gobject.c b/gobject/gobject.c
index bf45d6263..da2a5050a 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -1338,7 +1338,7 @@ g_object_new_valist (GType object_type,
class = g_type_class_ref (object_type);
- params = g_new (GParameter, n_alloced_params);
+ params = g_new0 (GParameter, n_alloced_params);
name = first_property_name;
while (name)
{