bson_string_free - Man Page
bson_string_free()
Synopsis
char * bson_string_free (bson_string_t *string, bool free_segment);
Parameters
- string: A bson_string_t.
- free_segment: A bool indicating whether string->str should be freed.
Description
Frees the bson_string_t structure and optionally string->str.
Returns
string->str if free_segment is false, otherwise NULL.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
May 09, 2023 1.23.4 libbson