From: John Darrington Date: Sat, 24 Oct 2009 06:32:48 +0000 (+0200) Subject: Destroy the categorical variables when the covariance matrix is destroyed X-Git-Tag: sid-i386-build96~3 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=99fc1632bdc44607eedfa1208edbda458730c471 Destroy the categorical variables when the covariance matrix is destroyed --- diff --git a/src/math/covariance.c b/src/math/covariance.c index e9f29a29..67ca0e50 100644 --- 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]);