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]

buglet in chebyshev module ?


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.

-- 
       Olivier


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