1BSON_STRING_FREE(3) libbson BSON_STRING_FREE(3)
2
3
4
6 bson_string_free - bson_string_free()
7
9 char *
10 bson_string_free (bson_string_t *string, bool free_segment);
11
13 • string: A bson_string_t.
14
15 • free_segment: A bool indicating whether string->str should be freed.
16
18 Frees the bson_string_t structure and optionally string->str.
19
21 string->str if free_segment is false, otherwise NULL.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.23.1 Oct 20, 2022 BSON_STRING_FREE(3)