bson_string_free - Man Page

WARNING:

Deprecated since version 1.29.0.

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

Nov 07, 2024 1.29.0 libbson