1BSON_DESTROY(3) libbson BSON_DESTROY(3)
23
4
NAME
6bson_destroy - bson_destroy()
7
SYNOPSIS
9void
10bson_destroy (bson_t *bson);
11
PARAMETERS
13• bson: A bson_t.
14
DESCRIPTION
16The bson_destroy() function shall free an allocated bson_t structure.
17Does nothing if bson is NULL.
1819
This function should always be called when you are done with a bson_t
20unless otherwise specified.
21
AUTHOR
23MongoDB, Inc
24
COPYRIGHT
262017-present, MongoDB, Inc
2728
29
30
31
1.20.0 Nov 18, 2021 BSON_DESTROY(3)