ber_bvfree

Frees a returned berval structure.

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> or <lber.h>
  
  void ber_bvfree (
     struct berval  *bv);
  

Parameters

bv

(IN) Points to the berval structure to be freed.

Remarks

Both the bv_val string in the berval structure and the structure itself are freed.

If the bv parameter is NULL, this function does nothing.