This function takes the following parameters:
Value set to be freed.
List of type names.
The buffer flags returned from slapi_vattr_values_get_ex() . This contains information that this function needs to determine which objects need to be freed.