---
name: "WLDAP32_ber_free"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/WLDAP32_ber_free"
---

# WLDAP32\_ber\_free(3w)

## NAME

**WLDAP32\_ber\_free** (WLDAP32.@)

## SYNOPSIS

void CDECL  WLDAP32\_ber\_free\
  (\
   BerElement\* *berelement*,\
   INT         *buf*\
  )

## DESCRIPTION

Free a *berelement* structure.

## PARAMS

*berelement* **\[In\]**  Pointer to the *berelement* structure to be freed.

*buf* **\[In\]**  Flag.

## RETURNS

Nothing.

## NOTES

Set *buf* to **0** if the *berelement* was allocated with ldap\_first\_attribute or ldap\_next\_attribute, otherwise set it to **1.**

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/wldap32/ber.c"**.
