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: gsl comments


Keith Weinman writes:
 > (1)   the routines to free memory  should check   if the pointer  
 > argument is null  - otherwise on some platforms an additional check for 
 > NULL is required to prevent a segmentation error  occuring.

What platforms are these? --- the C standard explicitly defines
free(0) as being a noop.

-- 
Brian Gough

Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/


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