Provided by: libbson-doc_1.9.2-1_all 

NAME
bson_destroy - 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.
AUTHOR
MongoDB, Inc
COPYRIGHT
2018, MongoDB, Inc
1.9.2 Jan 12, 2018 BSON_DESTROY(3)