summaryrefslogtreecommitdiff
path: root/tests/testboundaries_ucd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testboundaries_ucd.c')
-rw-r--r--tests/testboundaries_ucd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testboundaries_ucd.c b/tests/testboundaries_ucd.c
index d9f08a57..8abf0b7a 100644
--- a/tests/testboundaries_ucd.c
+++ b/tests/testboundaries_ucd.c
@@ -273,7 +273,7 @@ do_test (const gchar *filename,
if (num_attrs > 0)
{
- PangoLogAttr *attrs = g_new (PangoLogAttr, num_attrs);
+ PangoLogAttr *attrs = g_new0 (PangoLogAttr, num_attrs);
pango_get_log_attrs (string, -1, 0, pango_language_from_string ("C"), attrs, num_attrs);
if (! attrs_equal (attrs, expected_attrs, num_attrs, bits))