projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a bug causing pspp to crash when computed variables had no format
[pspp-builds.git]
/
src
/
aggregate.c
diff --git
a/src/aggregate.c
b/src/aggregate.c
index 657db1b8e8ae5d6f92afead6421ea402b01d54ac..dbfad40f6d4b2b79b938b6a83ed3c771bfa49b8d 100644
(file)
--- a/
src/aggregate.c
+++ b/
src/aggregate.c
@@
-424,9
+424,7
@@
create_sysfile (void)
}
buf64_1xx = xmalloc (sizeof *buf64_1xx * w.case_size);
- buf_1xx = xmalloc (sizeof (struct ccase)
- + (sizeof (union value)
- * (dict_get_value_cnt (agr_dict) - 1)));
+ buf_1xx = xmalloc (dict_get_case_size (agr_dict));
return 1;
}