SYNOPSIS

#include <bson.h>

void
bson_destroy (bson_t *bson);

DESCRIPTION

The bson_destroy() 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.

ERRORS

No errors are defined.

AUTHORS

This page was written by MongoDB, Inc.