ldap_free_sort_keylist

Frees the memory allocated by the ldap_create_sort_keylist function.

LDAP Version:v3
Library:*ldapsdk.*
NDS Version:8.xx or higher
Platform:NLM, Windows (NT, 95, 98, 2000, XP, Vista 32-bit and 64-bit ), Linux (32-bit and 64-bit), Solaris, AIX, and HP-UX

Syntax

  #include <ldap.h>
  
  void ldap_free_sort_keylist (
     LDAPSortKey   **sortKeyList);
  

Parameters

sortKeyList

(IN) Points to an array of pointers to LDAPSortKey structures that you want to free.

Remarks

The ldap_free_sort_keylist function frees the memory used by the LDAPSortKey structures, the memory referenced by the structures, and the array of pointers to the structures. The ldap_free_sort_keylist function should be called only if the memory was allocated by the ldap_create_sort_keylist function.

See Also

ldap_create_sort_keylist