This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 ());
 }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]