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 sort
- 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 10:39:55 +0100
- Subject: Patch to fix complaints from valgrind about make check for sort
Hi,
This (trivial) patch fixes the complaints that valgrind gives about make
check in the sort directory.
Jonathan.
--
------------------------------------------------
Dr Jonathan Underwood
The Department of Physics and Astronomy
The Open University
Walton Hall
Milton Keynes
MK7 6AA
UK
Tel: +44 (0) 1908 652514
Fax: +44 (0) 1908 654192
Index: test_source.c
===================================================================
RCS file: /cvs/gsl/gsl/sort/test_source.c,v
retrieving revision 1.11
diff -u -r1.11 test_source.c
--- test_source.c 26 Jun 2005 13:27:06 -0000 1.11
+++ test_source.c 30 Aug 2005 09:37:24 -0000
@@ -151,6 +151,7 @@
gsl_permutation_free (p);
free (small);
free (large);
+ free (index);
}