Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Author

       MongoDB, Inc

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.

Parameters

bson: A bson_t.

Synopsis

          void
          bson_destroy (bson_t *bson);

See Also