ldap_schema_free

Frees the memory allocated to an LDAPSchema handle.

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

  #include <ldap.h>
  
  int ldap_schema_free (
     LDAPSchema  *schema);
  

Parameters

schema

(IN) Handle to a local copy of directory schema.

Return Values

See the LDAP Return Codes for return values.

Remarks

For every handle created by ldap_schema_fetch, ldap_schema_free must be called to free the memory.

See Also

ldap_schema_fetch