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 the string itself.

Returns

str->str if free_segment is true, otherwise NULL.

Author

MongoDB, Inc

Info

Sep 15, 2017 1.8.0 Libbson