This is the mail archive of the gsl-discuss@sources.redhat.com 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]

Re: buglet in chebyshev module ?


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


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