Next Previous Contents

96. SLfree

Synopsis

Free some allocated memory

Usage

void SLfree (char *ptr)

Description

The SLfree function uses free to deallocate the memory specified by ptr, which may be NULL in which case the function does nothing.

Notes

Never use this function to free a hashed string returned by one of the family of slstring functions, e.g., SLang_pop_slstring.

See Also

SLmalloc, SLcalloc, SLrealloc, SLmake_string


Next Previous Contents