ldap_controls_free

Frees an array of LDAPControl structures.

Library:*ldapsdk.*
NDS Version:7.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

  void ldap_controls_free (
     LDAPControl  **ctrls);
  

Parameters

ctrls

(IN) Points to an array of control structures.

Remarks

You should call this function to free any arrays of controls that you create or that are returned to you by other functions such as ldap_parse_result.

See Also

ldap_control_free