bson_destroy man page

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

Info

Feb 09, 2017 1.6.0 Libbson