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
/
percentiles.c
diff --git
a/src/math/percentiles.c
b/src/math/percentiles.c
index a387d3d4c270b1685984b6758e899f98f239a5f6..2d779e5bea3408ac17c872ff56b0861c500f03d6 100644
(file)
--- a/
src/math/percentiles.c
+++ b/
src/math/percentiles.c
@@
-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;