Frees memory allocated by a call to the LDAP libraries.
#include <ldap.h> void ldap_memfree ( char *mem);
(IN) Points to the memory to free. If this argument is NULL, the function does nothing.
The ldap_memfree function is used to free memory the LDAP libraries allocated for names on calls to the ldap_first_attribute, ldap_next_attribute, and ldap_get_dn functions.
ldap_first_attribute, ldap_next_attribute, ldap_get_dn