Frees the memory allocated by the ldap_create_sort_keylist function.
#include <ldap.h>
void ldap_free_sort_keylist (
LDAPSortKey **sortKeyList);
(IN) Points to an array of pointers to LDAPSortKey structures that you want to free.
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.