projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
render: Add comment.
[pspp]
/
src
/
language
/
stats
/
autorecode.c
diff --git
a/src/language/stats/autorecode.c
b/src/language/stats/autorecode.c
index c093b1e6ab7af66245f47183f5e2d6c75ce03505..91fffcf27a07158b8f78ffa9bc1833fb2e428aba 100644
(file)
--- a/
src/language/stats/autorecode.c
+++ b/
src/language/stats/autorecode.c
@@
-491,9
+491,10
@@
arc_free (struct autorecode_pgm *arc)
}
size_t n_rec_items =
}
size_t n_rec_items =
- (arc->n_specs
== 1 ||
arc->specs[0].items == arc->specs[1].items
+ (arc->n_specs
>= 2 &&
arc->specs[0].items == arc->specs[1].items
? 1
: arc->n_specs);
? 1
: arc->n_specs);
+
for (size_t i = 0; i < n_rec_items; i++)
{
struct arc_spec *spec = &arc->specs[i];
for (size_t i = 0; i < n_rec_items; i++)
{
struct arc_spec *spec = &arc->specs[i];