bson_destroy(3)
| BSON_DESTROY(3) | libbson | BSON_DESTROY(3) |
SYNOPSIS
void bson_destroy (bson_t *bson);
PARAMETERS
- •
- bson: A bson_t <>.
DESCRIPTION
The bson_destroy() <> function shall free an allocated bson_t <> structure. Does nothing if bson is NULL.
This function should always be called when you are done with a bson_t <> unless otherwise specified.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
| February 10, 2026 | 1.30.7 |
