44.2. slapi_vattr_attrs_free()

This function should be used to free the list of attributes returned from slapi_vattrspi_add_type().
Syntax

#include "slapi-plugin.h"
void slapi_vattr_attrs_free(vattr_type_thang **types, int flags);

Parameters

This function takes the following parameters:

types
Pointer to the list of attributes to be freed.
flags
Bit mask of options. Valid value is as follows: SLAPI_VIRTUALATTRS_RETURNED_POINTERS
Memory Concerns

Free the pointer block using slapi_ch_free().