Share via


LDAP Memory Management Functions

Send Feedback

The following table shows the LDAP memory management functions with a description of the purpose of each.

Programming element Description
ldap_control_free This function frees an LDAPControl structure.
ldap_controls_free Frees an array of LDAPControl structures.
ldap_memfree This function frees memory that was allocated from the LDAP heap.
ldap_msgfree This function frees the results obtained from a previous call to ldap_result or to one of the synchronous search routines.
ldap_value_free This function frees a structure that was returned by a call to the ldap_get_values function.
ldap_value_free_len Frees berval structures that were returned by a call to the ldap_get_values_len function.

See Also

LDAP Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.