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 if str->str should be returned.
16
18 Frees the bson_string_t structure and optionally the string itself.
19
21 str->str if free_segment is true, otherwise NULL.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.13.1 Jan 24, 2019 BSON_STRING_FREE(3)