projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27c1ad9
)
Destroy the categorical variables when the covariance matrix is destroyed
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 24 Oct 2009 06:32:48 +0000
(08:32 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 24 Oct 2009 08:00:01 +0000
(10:00 +0200)
src/math/covariance.c
patch
|
blob
|
history
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]);