SysTutorials

Linux Manual Pages › Section 3

bson_destroy(3)

NAME

bson_destroy() – The bson_destroy() function shall free an allocated bson_t structure.

SYNOPSIS


void bson_destroy(bson_t *bson);

PARAMETERS

bson

A bson_t \&.

DESCRIPTION

The bson_destroy(3) function shall free an allocated bson_t structure.

This function should always be called when you are done with a bson_t unless otherwise specified.

COLOPHON

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

Index