bson_string_free man page

bson_string_free ā€” bson_string_free()

Synopsis

char *
bson_string_free (bson_string_t *string, bool free_segment);

Parameters

Description

Frees the bson_string_t structure and optionally string->str.

Returns

string->str if free_segment is false, otherwise NULL.

Author

MongoDB, Inc

Info

Feb 03, 2020 1.16.1 libbson