[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] bugs in bspline.c./ GSL 1.12
From: |
Ye.Naumovich |
Subject: |
[Bug-gsl] bugs in bspline.c./ GSL 1.12 |
Date: |
Sat, 08 Aug 2009 16:01:02 +0100 |
User-agent: |
Thunderbird 2.0.0.22 (Windows/20090605) |
Hello!
Looks like I found an bugs in bspline.c., GSL 1.12. At least in
*gsl_bspline_alloc* and *gsl_bspline_deriv_alloc* there are a lot of
code like:
//---------------------------
w->deltar = gsl_vector_alloc (k);
if (w->deltar == 0)
{
free (w->deltal);
free (w->knots);
free (w);
//--------------------------
It means that w->deltal was allocated as *gsl_vector*, but deallocated
as *void** with memory leaks.
*Have a nice day, *
*Dr. Yevgeniy Naumovich
Researcher
CICECO,
Department of Ceramics and Glass Engineering
University of Aveiro
3810-193 Aveiro
Portugal
address@hidden <mailto:address@hidden>*
- [Bug-gsl] bugs in bspline.c./ GSL 1.12,
Ye.Naumovich <=