projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix numerous memory leaks.
[pspp]
/
src
/
language
/
stats
/
oneway.c
diff --git
a/src/language/stats/oneway.c
b/src/language/stats/oneway.c
index ef20cbafbf1135810df8bf1bfdd0d5dbe714aa46..7f28b75b8a45098de84fb736d452642e0ffdde59 100644
(file)
--- a/
src/language/stats/oneway.c
+++ b/
src/language/stats/oneway.c
@@
-551,7
+551,10
@@
cmd_oneway (struct lexer *lexer, struct dataset *ds)
}
if ( ll_count (coefficient_list) <= 0)
- goto error;
+ {
+ destroy_coeff_list (cl);
+ goto error;
+ }
ll_push_tail (&oneway.contrast_list, &cl->ll);
}