bson_mem_restore_vtable (3) - Linux Manuals

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

NAME

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.