This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: buglet in chebyshev module ?
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Olivier Andrieu <andrieu at ijm dot jussieu dot fr>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Fri, 24 May 2002 19:33:04 +0100 (BST)
- Subject: Re: buglet in chebyshev module ?
- References: <15598.2338.825601.498549@akasha.ijm.jussieu.fr>
Olivier Andrieu writes:
> Hi,
>
> while having a look at the source, I think I saw a memory problem in
> cheb/init.c . The `gsl_cheb_alloc' function calls `malloc' 3 times (to
> allocate the struct itself and two arrays), but `gsl_cheb_free' calls
> `free' only twice. Looks like there is a `free(cs->f)' missing.
Thanks for the bug report. I'll fix that for the next release.
regards
Brian Gough