ldap_value_free()--Free Memory Allocated by ldap_get_values()


  Syntax
 #include <ldap.h>

 void ldap_value_free(
            char  **vals)

  Default Public Authority: *USE

  Library Name/Service Program: QSYS/QGLDCLNT

  Threadsafe: Yes

The ldap_value_free() function frees the memory allocated by the ldap_get_values() function.


Authorities and Locks

No IBM® i authority is required.


Parameters

vals
(Input) Specifies a pointer to a null-terminated array of attribute values, as returned by ldap_get_values().

Return Value

None.


Error Conditions

ldap_value_free() API does not return an error code.


Error Messages

The following message may be sent from this function.

Message ID Error Message Text
CPF3CF2 E Error(s) occurred during running of ldap_value_free API.


Related Information


API introduced: V4R3

[ Back to top | LDAP APIs | APIs by category ]