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

slapi_value_free()

Frees the specified Slapi_Value structure and its members from memory.

Syntax

#include "slapi-plugin.h"
 void slapi_value_free(Slapi_Value **value);

Parameters

This function takes the following parameter:

value

Address of the pointer to the Slapi_Value you wish to free.

Description

This function frees the Slapi_Value structure and its members (if it is not NULL), and sets the pointer to NULL.

Memory Concerns

Call this function when you are finished working with the structure.