[mapserver-dev] Ticket 3559 - malloc/calloc/realloc return
values should always be checked
Frank Warmerdam
warmerdam at pobox.com
Tue Nov 16 15:54:31 EST 2010
Daniel Morissette wrote:
> Do we need a PSC vote before we go ahead with msSmallMalloc(),
> msSmallCalloc() and msStrdup()?
Daniel,
I'll leave that to Steve's call as chair.
> What about using the names msMalloc() and msCalloc() instead and
> properly documenting that they are intended for use with small
> allocations only (as is done for GDAL's CPLMalloc family of functions)?
I am supportive of proceeding and I'm supportive of the shorter names as
long as we get the idea that they are intended for small memory allocations.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the mapserver-dev
mailing list