bson_mem_restore_vtable man page

bson_mem_restore_vtable() — This function shall restore the default memory allocator to be used by Libbson.

Synopsis

void bson_mem_restore_vtable (void);

Description

This function shall restore the default memory allocator to be used by Libbson.

NOTE

This function MUST be called at the end of the process. Failure to do so will result in memory being freed by the wrong allocator.

Colophon

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

Referenced By

bson_memory(3).

2016‐10‐28 libbson