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



API introduced: V4R3

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