ber_bvecfree - Linux


Overview

ber_bvecfree deallocates the memory that was allocated by ber_bvecalloc or ber_bvecnew.

Syntax

ber_bvecfree(ber_bvec *vec)

Options/Flags

N/A

Examples

ber_bvec *vec;
vec = ber_bvecalloc(); /* or ber_bvecnew */
...
/* Free the vector */
ber_bvecfree(vec);

Common Issues

N/A

Integration

This command is commonly used in conjunction with other BER (Basic Encoding Rules) functions in the OpenSSL library.

Related Commands

  • ber_bvecopyn()
  • ber_bvecnew()
  • ber_bvecalloc()