covariance: Fix const-ness of covariance_calculate[_unnormalized] retval.
[pspp] / src / language / stats / oneway.c
index f390a3c8aa5a3a420bb9c0cf0c207013f70f6e12..12170bb47e73aeb721ed9a97aad2e319232a9755 100644 (file)
@@ -495,6 +495,8 @@ run_oneway (const struct oneway_spec *cmd,
       pvw->n_groups = categoricals_total (cats);
 
       pvw->mse = (pvw->sst - pvw->ssa) / (n - pvw->n_groups);
+
+      gsl_matrix_free (cm);
     }
 
   for (v = 0; v < cmd->n_vars; ++v)