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
/
covariance.c
diff --git
a/src/math/covariance.c
b/src/math/covariance.c
index dec5ee87ccb86e1db1b507847c64bc4f6f2aa820..67a9fe9f219bf843d7f7ad7ea484851cbf8350b0 100644
(file)
--- a/
src/math/covariance.c
+++ b/
src/math/covariance.c
@@
-145,7
+145,7
@@
covariance_1pass_create (size_t n_vars, const struct variable *const *vars,
bool centered)
{
size_t i;
- struct covariance *cov =
xzalloc (sizeof *cov
);
+ struct covariance *cov =
XZALLOC (struct covariance
);
cov->centered = centered;
cov->passes = 1;