---
name: "bson_reader_destroy"
section: "3"
platform: "linux"
package: "libbson-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bson_reader_destroy"
---

# bson\_reader\_destroy(3)

## SYNOPSIS

```
void
bson_reader_destroy (bson_reader_t *reader);
```

## PARAMETERS

- •

  **reader**: A *bson\_reader\_t*.

## DESCRIPTION

Destroys and releases all resources associated with **reader**. Does nothing if **reader** is NULL.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
