DOKK / manpages / debian 10 / libbson-doc / bson_context_destroy.3.en
BSON_CONTEXT_DESTROY(3) Libbson BSON_CONTEXT_DESTROY(3)

bson_context_destroy - bson_context_destroy()

void
bson_context_destroy (bson_context_t *context);


context: A bson_context_t.

The bson_context_destroy() function shall release all resources associated with context. Does nothing if context is NULL.

This should be called when you are no longer using a bson_context_t that you have allocated with bson_context_new().

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0