DOKK / manpages / debian 11 / libbson-doc / bson_writer_destroy.3.en
BSON_WRITER_DESTROY(3) libbson BSON_WRITER_DESTROY(3)

bson_writer_destroy - bson_writer_destroy()

void
bson_writer_destroy (bson_writer_t *writer);


writer: A bson_writer_t.

Cleanup after writer and release any allocated memory. Does nothing if writer is NULL. Note that the buffer supplied to bson_writer_new() is NOT freed from this method. The caller is responsible for that.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6