projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace numerous instances of xzalloc with XZALLOC
[pspp]
/
src
/
math
/
trimmed-mean.c
diff --git
a/src/math/trimmed-mean.c
b/src/math/trimmed-mean.c
index d75b539a6692cb1c1ab5e299ab6538cf6968811d..b643651a26aa4240e0340768b32af1c3ed37a320 100644
(file)
--- a/
src/math/trimmed-mean.c
+++ b/
src/math/trimmed-mean.c
@@
-52,7
+52,7
@@
destroy (struct statistic *s)
struct trimmed_mean *
trimmed_mean_create (double W, double tail)
{
struct trimmed_mean *
trimmed_mean_create (double W, double tail)
{
- struct trimmed_mean *tm =
xzalloc (sizeof (*tm)
);
+ struct trimmed_mean *tm =
XZALLOC (struct trimmed_mean
);
struct order_stats *os = &tm->parent;
struct statistic *stat = &os->parent;
struct order_stats *os = &tm->parent;
struct statistic *stat = &os->parent;