projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use XCALLOC / XZALLOC macros where reasonable
[pspp]
/
src
/
language
/
data-io
/
matrix-data.c
diff --git
a/src/language/data-io/matrix-data.c
b/src/language/data-io/matrix-data.c
index c0f5979bcd268e215b2930b7e30a60bbfceff332..bffdd92cb7f463d0183181196b9e920f7e1a2fe9 100644
(file)
--- a/
src/language/data-io/matrix-data.c
+++ b/
src/language/data-io/matrix-data.c
@@
-940,7
+940,7
@@
cmd_matrix_data (struct lexer *lexer, struct dataset *ds)
.cells = -1,
};
- bool *taken_vars =
xzalloc (n_input_vars
);
+ bool *taken_vars =
XCALLOC (n_input_vars, bool
);
if (input_rowtype)
taken_vars[var_get_dict_index (rowtype)] = true;