Releasing collection resources
When your DataBlade API module no longer needs a collection, you can release the resources that it uses with the mi_collection_close() and mi_collection_free() functions.
The mi_collection_close() function closes
the collection cursor and frees the collection descriptor. The mi_collection_free() function
frees the collection structure.