Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / math / shapiro-wilk.c
index 30feb39d9ddfb94cb9f844ae5f78444657a54126..6d10722297ab5eb4d0726ae385b08e0e081c8cbf 100644 (file)
@@ -119,7 +119,7 @@ shapiro_wilk_create (int n, double mean)
   if (n < 3 || n > 5000)
     return NULL;
 
-  struct shapiro_wilk *sw = xzalloc (sizeof (*sw));
+  struct shapiro_wilk *sw = XZALLOC (struct shapiro_wilk);
   struct order_stats *os = &sw->parent;
   struct statistic *stat = &os->parent;