1BSON_DESTROY(3) libbson BSON_DESTROY(3)
23
4
SYNOPSIS
6void
7bson_destroy (bson_t *bson);
8
PARAMETERS
10• bson: A bson_t.
11
DESCRIPTION
13The bson_destroy() function shall free an allocated bson_t structure.
14Does nothing if bson is NULL.
1516
This function should always be called when you are done with a bson_t
17unless otherwise specified.
18
AUTHOR
20MongoDB, Inc
21
COPYRIGHT
232017-present, MongoDB, Inc
2425
26
27
28
1.25.1 Nov 08, 2023 BSON_DESTROY(3)