bson_destroy - Man Page
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
2017-present, MongoDB, Inc
Info
Nov 08, 2023 1.25.1 libbson