Use XCALLOC / XZALLOC macros where reasonable
[pspp] / src / math / box-whisker.c
index 4bbe0f58505d1c60ef407417f0eb53d5b31cdf90..506251682c7bf17106fba7525c2f6dc823ecac1c 100644 (file)
@@ -85,7 +85,7 @@ acc (struct statistic *s, const struct ccase *cx,
 
   /* y is an outlier */
 
-  struct outlier *o = xzalloc (sizeof *o) ;
+  struct outlier *o = XZALLOC (struct outlier);
   o->value = y;
   o->extreme = extreme;
   ds_init_empty (&o->label);