This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: gsl comments
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Keith Weinman <keith dot weinman at dlr dot de>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Thu, 24 Mar 2005 11:39:52 +0000
- Subject: Re: gsl comments
- References: <42419C09.2010208@dlr.de>
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/