Skip to content

Commit b2b5c6e

Browse files
author
Christian Hergert
committed
client: mongoc_cleanup() should be called at end of main.
1 parent 0c1901d commit b2b5c6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/example-client.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,7 @@ main (int argc,
6969
mongoc_collection_destroy (collection);
7070
mongoc_client_destroy (client);
7171

72+
mongoc_cleanup ();
73+
7274
return EXIT_SUCCESS;
7375
}

0 commit comments

Comments
 (0)