mongoc_cursor_destroy man page
mongoc_cursor_destroy — mongoc_cursor_destroy()
void mongoc_cursor_destroy (mongoc_cursor_t *cursor);
cursor: A mongoc_cursor_t.
Frees a mongoc_cursor_t and releases all associated resources. If a server-side cursor has been allocated, it will be released as well.
2017, MongoDB, Inc
Mar 28, 2017 1.6.2 MongoDB C Driver