projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Destroy the categorical variables when the covariance matrix is destroyed
[pspp]
/
src
/
math
/
covariance.c
diff --git
a/src/math/covariance.c
b/src/math/covariance.c
index e9f29a299f9b94b31ec196d8eb3a7424bc672e2e..67ca0e5054399c0045d3de31b0db5ecce235d283 100644
(file)
--- a/
src/math/covariance.c
+++ b/
src/math/covariance.c
@@
-557,6
+557,7
@@
covariance_destroy (struct covariance *cov)
{
size_t i;
free (cov->vars);
+ categoricals_destroy (cov->categoricals);
for (i = 0; i < n_MOMENTS; ++i)
gsl_matrix_free (cov->moments[i]);