projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LOGISTIC REGRESSION: Fix memory leak in error path
[pspp]
/
src
/
language
/
stats
/
logistic.c
diff --git
a/src/language/stats/logistic.c
b/src/language/stats/logistic.c
index b3cf843400f6460b077de5b396e2e7c10cada8d1..eb200fe37889c54c04596068614167735faa13d1 100644
(file)
--- a/
src/language/stats/logistic.c
+++ b/
src/language/stats/logistic.c
@@
-523,6
+523,7
@@
initial_pass (const struct lr_spec *cmd, struct lr_result *res, struct casereade
)
{
msg (ME, _("Dependent variable's values are not dichotomous."));
+ case_unref (c);
goto error;
}
}