#include "slapi-plugin.h" void slapi_ch_free_string( char **s );
This function takes the following parameter:
Address of the string that you wish to free.
This function frees an existing string, and should be used in favor of slapi_ch_free() when using strings. It will perform compile-time error checking for incorrect error arguments, as opposed to slapi_ch_free(), which defeats the compile-time checking because you must cast the argument to (void**).