Freigeben über


LDAP Memory Management Functions

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.