43.4. slapi_valueset_done()

Frees the values contained in the Slapi_ValueSet structure.
Syntax

#include "slapi-plugin.h"
void slapi_valueset_done(Slapi_ValueSet *vs);

Parameters

This function takes the following parameter:

vs
Pointer to the Slapi_ValueSet structure from which you wish to free its values.
Memory Concerns

Use this function when you are no longer using the values but you want to re-use the Slapi_ValueSet structure for a new set of values.