projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basics work now
[pspp]
/
src
/
output
/
spv
/
spv-light-decoder.c
diff --git
a/src/output/spv/spv-light-decoder.c
b/src/output/spv/spv-light-decoder.c
index e58d423d6768f8f98d29ac42ab3fa2a1348eeb23..f1f3dba9607dc68599ceb4a3a755bd471a5754d0 100644
(file)
--- a/
src/output/spv/spv-light-decoder.c
+++ b/
src/output/spv/spv-light-decoder.c
@@
-291,7
+291,7
@@
decode_spvlb_value (const struct pivot_table *table,
{
*outp = NULL;
{
*outp = NULL;
- struct pivot_value *out =
xzalloc (sizeof *out
);
+ struct pivot_value *out =
XZALLOC (struct pivot_value
);
const struct spvlb_value_mod *vm;
char *error;
const struct spvlb_value_mod *vm;
char *error;
@@
-540,7
+540,7
@@
decode_spvlb_categories (const struct pivot_table *table,
if (error)
return error;
if (error)
return error;
- struct pivot_category *out =
xzalloc (sizeof *out
);
+ struct pivot_category *out =
XZALLOC (struct pivot_category
);
out->name = name;
out->parent = parent;
out->dimension = dimension;
out->name = name;
out->parent = parent;
out->dimension = dimension;
@@
-629,7
+629,7
@@
decode_spvlb_dimension (const struct pivot_table *table,
if (error)
return error;
if (error)
return error;
- struct pivot_dimension *out =
xzalloc (sizeof *out
);
+ struct pivot_dimension *out =
XZALLOC (struct pivot_dimension
);
out->level = UINT_MAX;
out->top_index = idx;
out->hide_all_labels = in->props->hide_all_labels;
out->level = UINT_MAX;
out->top_index = idx;
out->hide_all_labels = in->props->hide_all_labels;
@@
-838,7
+838,7
@@
decode_spvlb_table (const struct spvlb_table *in, struct pivot_table **outp)
in->header->version);
char *error = NULL;
in->header->version);
char *error = NULL;
- struct pivot_table *out =
xzalloc (sizeof *out
);
+ struct pivot_table *out =
XZALLOC (struct pivot_table
);
out->ref_cnt = 1;
hmap_init (&out->cells);
out->look = pivot_table_look_new_builtin_default ();
out->ref_cnt = 1;
hmap_init (&out->cells);
out->look = pivot_table_look_new_builtin_default ();