diff options
-rw-r--r-- | pango/pango-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index ae2745b0..0227f819 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -4309,7 +4309,7 @@ pango_layout_check_lines (PangoLayout *layout) itemize_attrs = NULL; } - layout->log_attrs = g_new (PangoLogAttr, layout->n_chars + 1); + layout->log_attrs = g_new0 (PangoLogAttr, layout->n_chars + 1); start_offset = 0; start = layout->text; |