bson_context_destroy (3) - Linux Manuals

bson_context_destroy: The bson_context_destroy() function shall release all resources associated with context.

NAME

bson_context_destroy() - The bson_context_destroy() function shall release all resources associated with context.

SYNOPSIS

void
bson_context_destroy (bson_context_t *context);

PARAMETERS

context
A bson_context_t \&.

DESCRIPTION

The bson_context_destroy(3) function shall release all resources associated with context \&.

This should be called when you are no longer using a bson_context_t that you have allocated with bson_context_new(3) \&.

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.