Use XCALLOC / XZALLOC macros where reasonable
[pspp] / src / language / data-io / matrix-data.c
index c0f5979bcd268e215b2930b7e30a60bbfceff332..bffdd92cb7f463d0183181196b9e920f7e1a2fe9 100644 (file)
@@ -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;