bson_destroy() — libbson 1.6.3

- libbson 1.6.3 »
- API Reference »
- bson_t

# bson_destroy()

## Synopsis

    void
    bson_destroy (bson_t *bson);

## Parameters

- `bson`: A bson_t.

## Description

The bson_destroy() function shall free an allocated bson_t structure.

This function should always be called when you are done with a bson_t unless otherwise specified.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.