DOKK / manpages / debian 13 / libbson-doc / bson_mem_restore_vtable.3.en
BSON_MEM_RESTORE_VTABLE(3) libbson BSON_MEM_RESTORE_VTABLE(3)

void
bson_mem_restore_vtable (void);


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.


MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4