bson_mem_restore_vtable man page

bson_mem_restore_vtable ā€” bson_mem_restore_vtable()

Synopsis

void
bson_mem_restore_vtable (void);

Description

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

WARNING:

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.

Author

MongoDB, Inc

Info

Aug 10, 2017 1.7.0 Libbson