Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 254

Table of Contents

Advertisement

Functions for Managing Memory
Parameters
This function takes the following parameters:
ptr
Memory Concerns
The
ptr
allocated using a
slapi_ch_realloc()
See Also
slapi_ch_malloc()
slapi_ch_calloc()
slapi_ch_realloc()
slapi_ch_strdup()
slapi_ch_free_string()
Frees space previously allocated to a string.
Syntax
#include "slapi-plugin.h"
void slapi_ch_free_string( char **s );
Parameters
This function takes the following parameter:
s
Description
This function is similar to
string. This helps with compile time error checking.
See Also
slapi_ch_free()
254
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Address of the pointer to the block of memory that you want to free. If
NULL, no action occurs.
passed to
slapi_ch_free()
call such as
slapi
, or
slapi_ch_strdup()
Address of the string that you want to free. If NULL, no action occurs.
slapi_ch_free()
should be the address of a pointer that was
slapi_ch_malloc()
.
, but the argument is the address of a
,
slapi_ch_calloc()
,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents