Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

ldap_memfree function

The ldap_memfree function frees memory allocated from the LDAP heap.

Syntax


VOID ldap_memfree(
  _In_  PCHAR Block
);

Parameters

Block [in]

A pointer to a null-terminated string that contains a pointer to memory allocated by the LDAP library.

Return value

None.

Remarks

Call ldap_memfree to free strings, such as the attribute names returned by ldap_*_attribute, or distinguished names returned by ldap_get_dn. Do not free the static buffers used by ldap_open, ldap_get_values, and others.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winldap.h

Library

Wldap32.lib

DLL

Wldap32.dll

Unicode and ANSI names

ldap_memfreeW (Unicode) and ldap_memfreeA (ANSI)

See also

Functions
ldap_get_dn
ldap_get_values
ldap_open

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.