Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

Description

This function frees the char ** pointed to by arrayp . In the following excerpt, for example, both array and a1 are freed:

char **array;
char *a1;

array = malloc(2*sizeof(char *));
a1 = strdup("hello");

array[0] = a1;
array[1] = NULL;

slapi_ch_array_free(array);