Provided by: libbson-doc_1.3.1-1_all bug

NAME

       bson_destroy() - The bson_destroy() function shall free an allocated bson_t structure.

SYNOPSIS

       void
       bson_destroy (bson_t *bson);

PARAMETERS

       bson   A bson_t \&.

DESCRIPTION

       The bson_destroy(3) 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.

COLOPHON

       This page is part of libbson.  Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

libbson                                            2016‐01‐18                                    BSON_DESTROY(3)