Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / math / percentiles.c
index a387d3d4c270b1685984b6758e899f98f239a5f6..2d779e5bea3408ac17c872ff56b0861c500f03d6 100644 (file)
@@ -152,7 +152,7 @@ destroy (struct statistic *stat)
 struct percentile *
 percentile_create (double p, double W)
 {
-  struct percentile *ptl = xzalloc (sizeof (*ptl));
+  struct percentile *ptl = XZALLOC (struct percentile);
   struct order_stats *os = &ptl->parent;
   struct statistic *stat = &os->parent;