next up previous 264
Next: astFreeDouble - Free previously double allocated memory
Up: AST Memory Management and Utility Functions
Previous: astChrSub - Performs substitutions on a supplied string


astFree - Free previously allocated memory

Description:
This function frees memory that has previouly been dynamically allocated using one of the AST memory function.
Synopsis:
void $*$astFree( void $*$ptr )
Parameters:
ptr
Pointer to previously allocated memory. An error will result if the memory has not previously been allocated by another function in this module. However, a NULL pointer value is accepted (without error) as indicating that no memory has yet been allocated, so that no action is required.
Returned Value:
astFree()
Always returns a NULL pointer.


next up previous 264
Next: astFreeDouble - Free previously double allocated memory
Up: AST Memory Management and Utility Functions
Previous: astChrSub - Performs substitutions on a supplied string

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council