Slapi_Ch_Free(); Slapi_Ch_Free_String() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

See Also

slapi_ch_free()

slapi_ch_malloc()
slapi_ch_realloc()
slapi_ch_strdup()
slapi_ch_free()
Frees space allocated by the
slapi_ch_calloc()
instead of the standard
Syntax
#include "slapi-plugin.h"
void slapi_ch_free( void **ptr );
Parameters
This function takes the following parameter:
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.
slapi_ch_malloc()
functions and sets the pointer to
free()
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()
,
slapi_ch_realloc()
C function.
should be the address of a pointer that was
slapi_ch_malloc()
.
Functions for Managing Memory
, and
. Call this function
NULL
,
slapi_ch_calloc()
Chapter 15
Function Reference
,
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents