ldap_memfree()--Free Memory Allocated by LDAP API
Syntax
#include <ldap.h> void ldap_memfree( char *mem)
Default Public Authority: *USE
Library Name/Service Program: QSYS/QGLDCLNT
Threadsafe: Yes
The ldap_memfree() API is used to free storage that is
allocated by some of the LDAP APIs. See the specific LDAP API
documentation to see which memory free API to use for any memory allocated.
Authorities and Locks
No IBM® i authority is required.
Parameters
- mem
- (Input) Specifies the address of storage that was allocated by the LDAP library.
Return Value
None.
Error Conditions
The ldap_memfree() 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_memfree API. |
Related Information
- ldap_ber_free() -- Free the BerElement structure.
- ldap_control_free() -- Free a single LDAPControl structure.
- ldap_controls_free() -- Free an array of LDAPControl structures.
- ldap_free_urldesc -- Free an LDAP URL Description
- ldap_mods_free() -- Free an array of pointers to mod structures.
- ldap_msgfree() -- Free the LDAPMessage structure.
- ldap_server_free_list -- Free the List of LDAP Servers
- ldap_value_free -- Free memory allocated by ldap_get_values
- ldap_value_free_len -- Free Memory Allocated by ldap_get_values_len
API introduced: V4R3
[ Back to top | LDAP APIs | APIs by category ]