ber_bvecfree

Frees an array of returned berval 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

  #include <ldap.h> or <lber.h>
  
  void ber_bvecfree (
     struct berval **bv);
  

Parameters

bv

(IN) Points to the array of berval structures that are to be freed.

Remarks

Each structure in the array is freed by calling the ber_bvfree function, then the array itself is freed.

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