[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] bugs in bspline.c./ GSL 1.12

From: Brian Gough
Subject: Re: [Bug-gsl] bugs in bspline.c./ GSL 1.12
Date: Wed, 12 Aug 2009 19:33:54 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI)

At Sat, 08 Aug 2009 16:01:02 +0100,
Ye.Naumovich wrote:
> 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.

Thank you for pointing that out that bug, I will correct it.

best regards,

Brian Gough
(GSL Maintainer)

Support freedom by joining the FSF 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]