This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
Patch to fix complaints from valgrind about make check for randist
- From: "Jonathan G. Underwood" <j dot underwood at open dot ac dot uk>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 30 Aug 2005 11:34:48 +0100
- Subject: Patch to fix complaints from valgrind about make check for randist
Another (trivial) patch to fix valgrind errors for make check in randist.
Index: test.c
===================================================================
RCS file: /cvs/gsl/gsl/randist/test.c,v
retrieving revision 1.43
diff -u -r1.43 test.c
--- test.c 22 Aug 2005 15:23:18 -0000 1.43
+++ test.c 30 Aug 2005 10:33:08 -0000
@@ -337,6 +337,8 @@
testDiscretePDF (FUNC2 (negative_binomial));
testDiscretePDF (FUNC2 (pascal));
+ gsl_rng_free (r_global);
+
exit (gsl_test_summary ());
}