<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLfree</TITLE>
<LINK HREF="cref-97.html" REL=next>
<LINK HREF="cref-95.html" REL=previous>
<LINK HREF="cref.html#toc96" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-97.html">Next</A>
<A HREF="cref-95.html">Previous</A>
<A HREF="cref.html#toc96">Contents</A>
<HR>
<H2><A NAME="SLfree"></A> <A NAME="s96">96. <B>SLfree</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Free some allocated memory
<DT><B> Usage </B><DD><P><CODE>void SLfree (char *ptr)</CODE>
<DT><B> Description </B><DD><P>The <CODE>SLfree</CODE> function uses <CODE>free</CODE> to deallocate the memory
specified by <CODE>ptr</CODE>, which may be <CODE>NULL</CODE> in which case the
function does nothing.
<DT><B> Notes </B><DD><P>Never use this function to free a hashed string returned by one of
the family of <CODE>slstring</CODE> functions, e.g.,
<CODE>SLang_pop_slstring</CODE>.
<DT><B> See Also </B><DD><P><CODE>SLmalloc, SLcalloc, SLrealloc, SLmake_string</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-97.html">Next</A>
<A HREF="cref-95.html">Previous</A>
<A HREF="cref.html#toc96">Contents</A>
</BODY>
</HTML>
