Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / output / render.c
index 249d77f80bf18711aa7b044fc253fc33f7e222c8..b88f10badb7a69779df99ce132dfc31c2a2ee5fa 100644 (file)
@@ -1976,7 +1976,7 @@ static struct render_overflow *
 insert_overflow (struct render_page_selection *s,
                  const struct table_cell *cell)
 {
-  struct render_overflow *of = xzalloc (sizeof *of);
+  struct render_overflow *of = XZALLOC (struct render_overflow);
   cell_to_subpage (s, cell, of->d);
   hmap_insert (&s->subpage->overflows, &of->node,
                hash_cell (of->d[H], of->d[V]));