Initial Release 6

Function : Basic Encoding Rules; LDAP
ber_free - Frees a BerElement.
----------------------------------------------------------------------------------------------------------

#include <lber.h>

void LNPUBLIC ber_free(
BerElement *ber,
int freebuf);

Description :

Frees a BerElement which is returned from the API calls ber_alloc_t() or ber_init(). Each BerElement should be freed by the caller.
Parameters :

Sample Usage :


ber_free(ber, 0);


See Also :

BerElement
----------------------------------------------------------------------------------------------------------