- out->data_leaves = xcalloc (out->n_leaves, sizeof *out->data_leaves);
- out->presentation_leaves = xcalloc (out->n_leaves,
- sizeof *out->presentation_leaves);
+ out->data_leaves = XCALLOC (out->n_leaves, struct pivot_category *);
+ out->presentation_leaves = XCALLOC (out->n_leaves, struct pivot_category *);