ldap_value_free_len (Compact 2013)

3/26/2014

This function frees berval structures that were returned by a call to the ldap_get_values_len function.

Syntax

ULONG ldap_value_free_len(
  struct berval** vals
);

Parameters

  • vals
    [in] Structure to free.

Return Value

If this function succeeds, the return value is LDAP_SUCCESS.

If this function fails, it returns an error code. See the LDAP_RETCODE enumeration for a list of possible return values.

Remarks

Call this function to free berval structures returned by ldap_get_values_len.

Requirements

Header

winldap.h

Library

wldap32.lib

See Also

Reference

LDAP Memory Management Functions
ldap_get_values_len
berval