SysTutorials

Linux Manual Pages › Section 3

mongoc_cleanup(3)

mongoc_cleanup() - This function is responsible for cleaning up after use of the MongoDB C driver. It will release any lingering allocated memory which can be useful when running under valgrind.

Synopsis

void
mongoc_cleanup (void);

Description

This function is responsible for cleaning up after use of the MongoDB C driver. It will release any lingering allocated memory which can be useful when running under valgrind.

Colophon

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