Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / math / np.c
index 8b7d09e7d378a0639765801e55cbece47f116455..0d691c2aa7b6699a82cd174bedb77984e43a2ae0 100644 (file)
@@ -74,7 +74,7 @@ acc (struct statistic *s, const struct ccase *cx UNUSED,
 struct np *
 np_create (double n, double mean, double var)
 {
-  struct np *np = xzalloc (sizeof (*np));
+  struct np *np = XZALLOC (struct np);
   struct order_stats *os = &np->parent;
   struct statistic *stat = &os->parent;
   struct caseproto *proto;