diff options
-rw-r--r-- | tests/terandom_chisq.c | 1 | ||||
-rw-r--r-- | tests/tnrandom_chisq.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/terandom_chisq.c b/tests/terandom_chisq.c index 3908428ab..607ee7d43 100644 --- a/tests/terandom_chisq.c +++ b/tests/terandom_chisq.c @@ -167,6 +167,7 @@ test_erandom_chisq_cont (long num, mpfr_prec_t prec, int nu, printf (" WARNING: probability (less than 5%%) = %.2e\n", Q); } + free (counts); mpfr_clears (x, a, b, dx, z, pa, pb, ps, t, (mpfr_ptr) 0); return Q; } diff --git a/tests/tnrandom_chisq.c b/tests/tnrandom_chisq.c index 839513dc3..9f7947c4b 100644 --- a/tests/tnrandom_chisq.c +++ b/tests/tnrandom_chisq.c @@ -163,6 +163,7 @@ test_nrandom_chisq_cont (long num, mpfr_prec_t prec, int nu, printf (" WARNING: probability (less than 5%%) = %.2e\n", Q); } + free (counts); mpfr_clears (x, a, b, dx, z, pa, pb, ps, t, (mpfr_ptr) 0); return Q; } |